diff options
author | Eugen <eugen@zeonfederated.com> | 2017-01-26 10:44:20 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2017-01-26 10:44:20 +0100 |
commit | d53294b9333cece09f53da1126fbed72bd9e5b9e (patch) | |
tree | 06b91949057b9dea393e36a41da1ad125fbf3af2 | |
parent | 95b0bf981519cf03acc96d3d285853163d1b9735 (diff) | |
parent | 07b9a10d4d0c10255a7f323aed20ea92cf54d944 (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.rb | 2 |
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] |