about summary refs log tree commit diff
diff options
context:
space:
mode:
authorEugen <eugen@zeonfederated.com>2017-01-26 10:44:20 +0100
committerGitHub <noreply@github.com>2017-01-26 10:44:20 +0100
commitd53294b9333cece09f53da1126fbed72bd9e5b9e (patch)
tree06b91949057b9dea393e36a41da1ad125fbf3af2
parent95b0bf981519cf03acc96d3d285853163d1b9735 (diff)
parent07b9a10d4d0c10255a7f323aed20ea92cf54d944 (diff)
Merge pull request #542 from ineffyble/tweak/redirect-admin-path-to-admin-settings
Add redirect for /admin => /admin/settings
-rw-r--r--config/routes.rb2
1 files changed, 2 insertions, 0 deletions
diff --git a/config/routes.rb b/config/routes.rb
index 15fb924f1..9423a0ae2 100644
--- a/config/routes.rb
+++ b/config/routes.rb
@@ -68,6 +68,8 @@ Rails.application.routes.draw do
     end
   end
 
+  get '/admin', to: redirect('/admin/settings', status: 302)
+
   namespace :api do
     # PubSubHubbub outgoing subscriptions
     resources :subscriptions, only: [:show]