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