From 3cb09a0c39966050cb664666e4769f84848cb1a4 Mon Sep 17 00:00:00 2001 From: Heiko Bernloehr Date: Tue, 7 Aug 2018 10:57:35 +0200 Subject: Change root URL behaviour. Now you're redirected to "/admin/participants" when calling root URL of ECS instead of just rooted internal to "/admin/participants". It's better for resource protection configuration at the reverse proxy. --- config/routes.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/config/routes.rb b/config/routes.rb index da0ae9a..bef9b0c 100644 --- a/config/routes.rb +++ b/config/routes.rb @@ -59,7 +59,7 @@ resources :events, :only => [:index] do end get '/admin' => 'admin/participants#index' -root 'admin/participants#index' +root 'admin/participants#default' # The priority is based upon order of creation: first created -> highest priority. -- cgit v1.2.3