-
Notifications
You must be signed in to change notification settings - Fork 141
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
Path issues #146
Comments
I have similar issue. Rapidfire cannot find any of other controller's routes and it keeps giving error that a route path is an undefined local variable or method not found. |
I have a similar issue and it was solved by adding the initializer. But, after adding the initializer, and loading up the rapidfire root, clicking on "New Survey" leads me to a new error.
In this error, RapidFire cant find its own surveys path and the problem is surfaced from the Rapid Fire Initializer:
So, I was thinking that it's telling me that Im supposed to use the url_for helper in all the forms...
which worked to load the new survey page, but then on submission of the survey info I get: Which is true. In the rake routes list the :post route for new_survey_path is 'surveys/new' not rapidfire/surveys/new Any help is appreciated. |
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs for another 14 days. Thank you for your contributions. |
To reference routes inside the To reference routes outside the engine, from within the engine, you need to prepend your routes with |
Hey,
For devise gem, we are using an employee model rather the user model,
So when I use your gem, it is causing issues with our routes.
in the application controller, I am using
`def current_user
current_employee
end
def can_administer?
true
end`
The text was updated successfully, but these errors were encountered: