diff options
Diffstat (limited to 'config/routes.rb')
| -rw-r--r-- | config/routes.rb | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/config/routes.rb b/config/routes.rb index 3e4e31250..a2da2b071 100644 --- a/config/routes.rb +++ b/config/routes.rb @@ -7,11 +7,11 @@ ChouetteIhm::Application.routes.draw do devise_scope :user do authenticated :user do - root :to => 'referentials#index' + root :to => 'referentials#index', as: :authenticated_root end unauthenticated do - root :to => 'devise/sessions#new' + root :to => 'devise/sessions#new', as: :unauthenticated_root end end @@ -166,6 +166,7 @@ ChouetteIhm::Application.routes.draw do resources :clean_ups end + root :to => "referentials#index" match '/help/(*slug)' => 'help#show' |
