From f32ef29808ed4aeaf09ede803b8523023348d083 Mon Sep 17 00:00:00 2001 From: kibigo! Date: Mon, 11 Dec 2017 00:14:00 -0800 Subject: [PATCH] Removed unnecessary constraint --- config/routes.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/config/routes.rb b/config/routes.rb index 459438c94e..43ca2edbe7 100644 --- a/config/routes.rb +++ b/config/routes.rb @@ -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'