diff options
author | Effy Elden <git@effy.is> | 2017-01-26 18:59:35 +1100 |
---|---|---|
committer | Effy Elden <git@effy.is> | 2017-01-26 18:59:35 +1100 |
commit | 07b9a10d4d0c10255a7f323aed20ea92cf54d944 (patch) | |
tree | d7ac4e6e1d8c3957f4be5d424690370dbe78e773 /config | |
parent | 905c82917959a5afe24cb85c62c0b0ba13f0da8b (diff) |
Add redirect for /admin => /admin/settings
Diffstat (limited to 'config')
-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] |