ruby on rails - how to use new_user_session route from devise as the root path? -


Problem - I do not know how to set the new_user_session route as the root in the railing app Path

  Rails.application.routes.draw do devise_for: User Resources: For Dashboard Root: "home # index"  

Keep this line in the route. RB

  devise_scope: Route user: to = & gt; 'Vision / Session # New' End  

You have to set the default session path.


Comments