Skip to content
GitLab
Projects Groups Snippets
  • /
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
    • Contribute to GitLab
  • Sign in / Register
  • A administrate
  • Project information
    • Project information
    • Activity
    • Labels
    • Members
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributors
    • Graph
    • Compare
  • Issues 96
    • Issues 96
    • List
    • Boards
    • Service Desk
    • Milestones
  • Merge requests 32
    • Merge requests 32
  • CI/CD
    • CI/CD
    • Pipelines
    • Jobs
    • Schedules
  • Deployments
    • Deployments
    • Environments
    • Releases
  • Packages and registries
    • Packages and registries
    • Package Registry
    • Infrastructure Registry
  • Monitor
    • Monitor
    • Incidents
  • Analytics
    • Analytics
    • Value stream
    • CI/CD
    • Repository
  • Wiki
    • Wiki
  • Snippets
    • Snippets
  • Activity
  • Graph
  • Create a new issue
  • Jobs
  • Commits
  • Issue Boards
Collapse sidebar
  • thoughtbot, inc.
  • administrate
  • Issues
  • #258
Closed
Open
Issue created Nov 20, 2015 by Administrator@rootContributor

Admin layout generation?

Created by: nextekcarl

I'm working on integrating the Cloudinary heroku addon and I need to get that gem to include the javascript files that it normally adds by adding:

//= require cloudinary

...to the application.js manifest, but it appears that's all ignored when I'm in the administrate Rails engine. Where does the layout live for Administrate? I don't see a way listed to generate that layout that Administrate uses so that I can make changes to it the same way I can with the resource specific views, etc.

And while I can use the content_for :javascripts helper to add the javascript for cloudinary things directly, I'm pretty sure that will break when I move it to Heroku due to the SHA that added during precompile, won't it? So where do I add the require statement above to get it to get it added to the asset pipeline used in Administrate?

Assignee
Assign to
Time tracking