This website works better with JavaScript.
Home
Explore
Help
Sign In
closed-social
/
mastodon
Watch
3
Star
0
Fork
2
Code
Issues
5
Pull Requests
0
Projects
0
Releases
3
Wiki
Activity
Browse Source
Merge pull request
#542
from ineffyble/tweak/redirect-admin-path-to-admin-settings
Add redirect for /admin => /admin/settings
closed-social-glitch-2
Eugen
7 years ago
committed by
GitHub
parent
95b0bf9815
07b9a10d4d
commit
d53294b933
1 changed files
with
2 additions
and
0 deletions
Split View
Diff Options
Show Stats
Download Patch File
Download Diff File
+2
-0
config/routes.rb
+ 2
- 0
config/routes.rb
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
]
Write
Preview
Loading…
Cancel
Save