From 83a9cadbb13bd2292c7d064d40721fa5f64119fb Mon Sep 17 00:00:00 2001 From: elijah Date: Mon, 15 Jun 2015 17:14:26 -0700 Subject: added CommonLanguages gem --- engines/billing/config/routes.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'engines/billing/config/routes.rb') diff --git a/engines/billing/config/routes.rb b/engines/billing/config/routes.rb index 7263dff..6bbe501 100644 --- a/engines/billing/config/routes.rb +++ b/engines/billing/config/routes.rb @@ -1,6 +1,6 @@ Rails.application.routes.draw do - scope "(:locale)", :locale => MATCH_LOCALE do + scope "(:locale)", :locale => CommonLanguages.match_available do match 'payments/new' => 'payments#new', :as => :new_payment match 'payments/confirm' => 'payments#confirm', :as => :confirm_payment resources :users do -- cgit v1.2.3