summaryrefslogtreecommitdiff
path: root/engines
diff options
context:
space:
mode:
Diffstat (limited to 'engines')
-rw-r--r--engines/billing/config/routes.rb2
-rw-r--r--engines/support/config/routes.rb2
2 files changed, 2 insertions, 2 deletions
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
diff --git a/engines/support/config/routes.rb b/engines/support/config/routes.rb
index ca471b3..81bdf9a 100644
--- a/engines/support/config/routes.rb
+++ b/engines/support/config/routes.rb
@@ -1,5 +1,5 @@
Rails.application.routes.draw do
- scope "(:locale)", locale: MATCH_LOCALE do
+ scope "(:locale)", locale: CommonLanguages.match_available do
resources :tickets, except: :edit do
member do