summaryrefslogtreecommitdiff
path: root/engines/billing/config/routes.rb
diff options
context:
space:
mode:
Diffstat (limited to 'engines/billing/config/routes.rb')
-rw-r--r--engines/billing/config/routes.rb2
1 files changed, 1 insertions, 1 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