diff options
Diffstat (limited to 'config/routes.rb')
-rw-r--r-- | config/routes.rb | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/config/routes.rb b/config/routes.rb index bef9b0c..915db53 100644 --- a/config/routes.rb +++ b/config/routes.rb @@ -58,8 +58,8 @@ resources :events, :only => [:index] do match :fifo, :via => [:get, :post], :on => :collection end -get '/admin' => 'admin/participants#index' -root 'admin/participants#default' +get '/admin', to: redirect('admin/participants'), protocol: '//' +root to: redirect('admin/participants'), protocol: '//' # The priority is based upon order of creation: first created -> highest priority. |