From 07b9a10d4d0c10255a7f323aed20ea92cf54d944 Mon Sep 17 00:00:00 2001 From: Effy Elden Date: Thu, 26 Jan 2017 18:59:35 +1100 Subject: Add redirect for /admin => /admin/settings --- config/routes.rb | 2 ++ 1 file changed, 2 insertions(+) (limited to 'config') 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] -- cgit