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

undefined local variable or method `about_path' #690

Open
syllogismus opened this issue Dec 2, 2015 · 1 comment
Open

undefined local variable or method `about_path' #690

syllogismus opened this issue Dec 2, 2015 · 1 comment

Comments

@syllogismus
Copy link

im adding it to a new rails 4 app, then i changed the initializer to include my own application layout, which shares the same partial as the forum app-layout. the partial contains the about link, login and logout.
these links are not working...they work in the main-app-layout though. rake routes is fine...what am i doing wrong here?

thx

@gchiaren
Copy link

You might have to prefix your Rails route helpers like so: main_app.your_path.

From the wiki: https://github.com/rubysherpas/forem/wiki/Installing---Upgrading#application-route-helpers

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

2 participants