mirror of
https://github.com/mastodon/mastodon.git
synced 2024-11-26 07:22:30 +00:00
Add redirect for /admin => /admin/settings
This commit is contained in:
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 a new issue