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

Blazer is overriding Devise path #73

Closed
taiwoayanleye opened this issue Jul 28, 2016 · 4 comments
Closed

Blazer is overriding Devise path #73

taiwoayanleye opened this issue Jul 28, 2016 · 4 comments

Comments

@taiwoayanleye
Copy link

Hi, I just figured that blazer is overriding devise gem in my app. Everything works fine in development but in production here is the error when I clicked on the login button undefined method 'session_path' and when I click on the signup button, I get undefined method 'registration_path' error.

After installing and uninstalling blazer gem, I figured out that was the reason. How do I solve this.

@cycomachead
Copy link
Contributor

Were you overriding the layout file? To load blazer into your existing layout?

@cycomachead
Copy link
Contributor

See this for my work around:
snap-cloud/lambda@34f2142#diff-84a1dcbd329840437c75e449802b9361R15

Though, it's not idea for a large app. :\

@taiwoayanleye
Copy link
Author

Hey @cycomachead. I'm not using the gem in the layout file or in the views of my application. I only have the gem in my Gemfile and config/routes.rb, so to my to my understanding, I am not overriding the layout file. Here was an issue on devise gem channel that gave me an idea that I might have a mounted engine which was causing the error: heartcombo/devise#1984.

@ankane
Copy link
Owner

ankane commented Feb 23, 2018

Cleaning up stale issues

@ankane ankane closed this as completed Feb 23, 2018
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

3 participants