Fix `/web` prefix (#19468)

main^2
Yamagishi Kazutoshi 2 years ago committed by GitHub
parent 8ebff0efcb
commit 31e23269f9
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
  1. 2
      config/routes.rb

@ -681,7 +681,7 @@ Rails.application.routes.draw do
get path, to: 'home#index'
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/more', to: redirect('/about')

Loading…
Cancel
Save