Merge pull request #542 from ineffyble/tweak/redirect-admin-path-to-admin-settings

Add redirect for /admin => /admin/settings
remotes/1727458204337373841/tmp_refs/heads/signup-info-prompt
Eugen 2017-01-26 10:44:20 +01:00 committed by GitHub
commit d53294b933
1 changed files with 2 additions and 0 deletions

View File

@ -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]