diff --git a/config/routes.rb b/config/routes.rb index c133acbe8a3a8069eb687ce15d9b8638310f151d..d8af292bfc7b95ad0934198cba36d018f342608b 100644 --- a/config/routes.rb +++ b/config/routes.rb @@ -683,7 +683,7 @@ Rails.application.routes.draw do get path, to: 'home#index' end - get '/web/(*any)', to: redirect('/%{any}', status: 302), as: :web, defaults: { any: '' } + get '/web/(*any)', to: redirect('/%{any}', status: 302), as: :web, defaults: { any: '' }, format: false get '/about', to: 'about#show' get '/about/more', to: redirect('/about')