Open airblade opened 6 months ago
Currently the way to configure where QuoVadis redirects the user after, e.g., logging in is to specify a route with the name :after_login:
:after_login
get '/dashboard', to: 'dashboards#show', as: :after_login
But that means if you want to give the route its "own" name, :dashboard, you need to duplicate the routes:
:dashboard
get '/dashboard', to: 'dashboards#show', as: :dashboard get '/dashboard', to: 'dashboards#show', as: :after_login
This is a little inelegant.
Currently the way to configure where QuoVadis redirects the user after, e.g., logging in is to specify a route with the name
:after_login
:But that means if you want to give the route its "own" name,
:dashboard
, you need to duplicate the routes:This is a little inelegant.