diff options
author | Heiko Bernloehr <Heiko.Bernloehr@FreeIT.de> | 2018-08-07 10:57:35 +0200 |
---|---|---|
committer | Heiko Bernloehr <Heiko.Bernloehr@FreeIT.de> | 2018-08-07 10:59:48 +0200 |
commit | 3cb09a0c39966050cb664666e4769f84848cb1a4 (patch) | |
tree | 87a3f5778cf4e82de95019176f9fe590fe400942 | |
parent | 0886c741755dd9ae390aefb9062a139f38b11aa1 (diff) | |
download | ecs-3cb09a0c39966050cb664666e4769f84848cb1a4.tar.gz ecs-3cb09a0c39966050cb664666e4769f84848cb1a4.zip |
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.
-rw-r--r-- | config/routes.rb | 2 |
1 files changed, 1 insertions, 1 deletions
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. |