You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
but when devise redirects the user (like when it hasn't signed in) it redirects to a path without the '/admin' prefix and gives me the usual No route matches [GET] /users/sign_in because the correct route is admin/users/sign_in.
I'm kind of new to rails mountable engines so It could be just me, is this a devise issue?
The text was updated successfully, but these errors were encountered:
Im trying to create a a mountable engine with devise on it, I've followed this tutorial: https://github.com/plataformatec/devise/wiki/How-To:-Use-devise-inside-a-mountable-engine
And everything works fine, except the routes. My engine is mounted in the route admin like this:
but when devise redirects the user (like when it hasn't signed in) it redirects to a path without the '/admin' prefix and gives me the usual No route matches [GET] /users/sign_in because the correct route is admin/users/sign_in.
I'm kind of new to rails mountable engines so It could be just me, is this a devise issue?
The text was updated successfully, but these errors were encountered: