-
Notifications
You must be signed in to change notification settings - Fork 422
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
how to change the default layout and use route helper method in forem #625
Comments
@Byronlee You have to prefix your existing routes helper with Rails.application.config.to_prepare do
Forem.layout = "application"
end I've written a guide on how to setup Forem: http://www.sitepoint.com/forem-rails-forum-engine/ |
thx, yes , you right,
and i can user the man_app route helper ,but , i have a route helper like the second issue ,i have fix it by add |
@Byronlee Not sure about the first one. The second one is a bug that is yet not fixed. It is supposed to be like said in the wiki but it does not work, so I've found this workaround. |
Is this issue ok to close now? |
Idk, it should be tested, but this used to be broken and we had to use |
That is the case, my existing Rails iproject integrate forem, I use
rails g forem: views
, custom-existing pages, but I found a few questions:How to solve these two problems? Thank you
The text was updated successfully, but these errors were encountered: