about summary refs log tree commit diff
diff options
context:
space:
mode:
authorEffy Elden <git@effy.is>2017-01-26 18:59:35 +1100
committerEffy Elden <git@effy.is>2017-01-26 18:59:35 +1100
commit07b9a10d4d0c10255a7f323aed20ea92cf54d944 (patch)
treed7ac4e6e1d8c3957f4be5d424690370dbe78e773
parent905c82917959a5afe24cb85c62c0b0ba13f0da8b (diff)
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]