Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Asset Pipeline ... #24

Open
CentralMarin opened this issue Feb 5, 2014 · 4 comments
Open

Asset Pipeline ... #24

CentralMarin opened this issue Feb 5, 2014 · 4 comments

Comments

@CentralMarin
Copy link

I'm running into an issue when I try to integrate with the asset pipeline. The CSS and JS files are still being referenced as:

  • /stylesheets/active_admin/active_admin_globalize.css
  • /javascripts/active_admin/active_admin_globalize.js

I tried adding the CSS and JS to my precompile list, but this didn't make a difference.

@CentralMarin
Copy link
Author

Some more information - Including them in active_admin.js and active_admin.css.scss gets them properly compiled in the asset pipeline, the I'm still getting 404 errors in the browser since the gem is injecting the stylesheet and javascript include into the page.

@asecondwill
Copy link

+1.

@delphaber
Copy link
Contributor

Have you seen #28 ?

@sircon
Copy link

sircon commented Jul 22, 2014

to make it work I just added this to the config/application.rb:

config.assets.precompile += ["active_admin/active_admin_globalize.css", "active_admin/active_admin_globalize.js"]

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants