mirror of
https://git.bsd.gay/fef/nyastodon.git
synced 2024-12-26 09:03:43 +01: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
1 changed files with 2 additions and 0 deletions
|
@ -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]
|
||||
|
|
Loading…
Reference in a new issue