Removed unnecessary constraint

This commit is contained in:
kibigo! 2017-12-11 00:14:00 -08:00
parent a634d3876f
commit f32ef29808
1 changed files with 1 additions and 1 deletions

View File

@ -310,7 +310,7 @@ Rails.application.routes.draw do
end
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/more', to: 'about#more'