mirror of https://github.com/tootsuite/mastodon
Add redirect for /admin => /admin/settings
parent
905c829179
commit
07b9a10d4d
|
@ -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]
|
||||||
|
|
Loading…
Reference in New Issue