Removed unnecessary constraint

This commit is contained in:
kibigo! 2017-12-11 00:14:00 -08:00
parent a634d3876f
commit f32ef29808

View File

@ -310,7 +310,7 @@ Rails.application.routes.draw do
end end
get '/web/(*glob)', to: 'home#index', as: :web get '/web/(*glob)', to: 'home#index', as: :web
get "/$:use_flavour/(*glob)", to: 'home#index', constraints: { flavour: /[\w-]+/ } get "/$:use_flavour/(*glob)", to: 'home#index'
get '/about', to: 'about#show' get '/about', to: 'about#show'
get '/about/more', to: 'about#more' get '/about/more', to: 'about#more'