gearheads
/
mastodon
Archived
2
0
Fork 0

Fix `/web` prefix (#19468)

gh/stable
Yamagishi Kazutoshi 2022-10-26 23:56:37 +09:00 committed by GitHub
parent 8ebff0efcb
commit 31e23269f9
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 3 additions and 3 deletions

View File

@ -681,7 +681,7 @@ Rails.application.routes.draw do
get path, to: 'home#index' get path, to: 'home#index'
end end
get '/web/(*any)', to: redirect('/%{any}', status: 302), as: :web get '/web/(*any)', to: redirect('/%{any}', status: 302), as: :web, defaults: { any: '' }
get '/about', to: 'about#show' get '/about', to: 'about#show'
get '/about/more', to: redirect('/about') get '/about/more', to: redirect('/about')