[deploy] Redirect /internal to /admin (#9716)
This commit is contained in:
parent
c23163171f
commit
7ffe7ba806
2 changed files with 7 additions and 0 deletions
|
|
@ -430,6 +430,11 @@ Style/ClassAndModuleChildren:
|
|||
Enabled: true
|
||||
SafeAutoCorrect: true
|
||||
|
||||
Style/FormatStringToken:
|
||||
Description: 'Use a consistent style for format string tokens.'
|
||||
Exclude:
|
||||
- 'config/routes.rb'
|
||||
|
||||
Style/OptionalBooleanParameter:
|
||||
Description: 'Use keyword arguments when defining method with boolean argument.'
|
||||
StyleGuide: '#boolean-keyword-arguments'
|
||||
|
|
|
|||
|
|
@ -298,6 +298,8 @@ Rails.application.routes.draw do
|
|||
delete "/messages/:id" => "messages#destroy"
|
||||
patch "/messages/:id" => "messages#update"
|
||||
get "/live/:username" => "twitch_live_streams#show"
|
||||
get "/internal", to: redirect("/admin")
|
||||
get "/internal/:path", to: redirect("/admin/%{path}")
|
||||
|
||||
post "/pusher/auth" => "pusher#auth"
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue