-
Notifications
You must be signed in to change notification settings - Fork 196
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
Generator copy views at the wrong path #297
Comments
An easy fix is to just move the monologue views to the correct rails engine layout that would match the right path Rails needs to resolve when you generate views. ie. instead of generating under the blog/ directory, just move them to views/monologue. Then you won't have to have that layout check either in the config initializer and the views will work out of the box. |
Yup, you're right, that's where they go. The generator needs to be fixed I guess. |
It seems that the blog views can't be altered when you copy over the views from the engine unless you modify the engine directly. For example, I wanted to add the 'btn' class on to the link with class of 'button' to get my styling. Since your layout yields to Rails I'm not sure I can get these to change and reflect appropriately since the mounted engines views are being taken instead of mine.
Or it might be midnight and I'm making a mistake somewhere.
The text was updated successfully, but these errors were encountered: