-
Notifications
You must be signed in to change notification settings - Fork 86
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
Gem in an engine #19
Comments
I've managed to change prefix_path via custom initializer, which is OK, but styles and javascripts are not loaded as expected. If i look at themes_on_rails_example and how the stylesheet_link_tag is generated it is a little bit different. Any ideas? |
Figured out the problem is in engine.rb initializers which also have paths defined. |
Adding additional engine complicates things even more. I have tried to overwrite paths in second engine, too, but either first engine or second engine paths work. The funny thing is i can see paths in views search on error, but something goes wrong non the less. I would really appreaciate some tips on how i could use the gem with mountable engines and modular way. |
Hi,
i am trying to use this gem inside an egine in my application.
How can i use it as it seems it is always searching inside root app paths, not my engine paths.
Is there any way to tell where it starts searching from?
The text was updated successfully, but these errors were encountered: