gearheads
/
mastodon
Archived
2
0
Fork 0

Add redirect for /admin => /admin/settings

gh/stable
Effy Elden 2017-01-26 18:59:35 +11:00
parent 905c829179
commit 07b9a10d4d
1 changed files with 2 additions and 0 deletions

View File

@ -68,6 +68,8 @@ Rails.application.routes.draw do
end end
end end
get '/admin', to: redirect('/admin/settings', status: 302)
namespace :api do namespace :api do
# PubSubHubbub outgoing subscriptions # PubSubHubbub outgoing subscriptions
resources :subscriptions, only: [:show] resources :subscriptions, only: [:show]