mirror of
https://github.com/glitch-soc/mastodon.git
synced 2024-11-27 18:40:12 -05:00
Merge pull request #542 from ineffyble/tweak/redirect-admin-path-to-admin-settings
Add redirect for /admin => /admin/settings
This commit is contained in:
commit
d53294b933
@ -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
Block a user