diff options
author | elijah <elijah@riseup.net> | 2015-06-15 17:14:26 -0700 |
---|---|---|
committer | elijah <elijah@riseup.net> | 2015-06-15 17:14:26 -0700 |
commit | 83a9cadbb13bd2292c7d064d40721fa5f64119fb (patch) | |
tree | 294c13678a0514634a6817428d2c656738c14e52 /engines/billing/config/routes.rb | |
parent | 12ab515ecd448f98ff006e30a93e43626183b6d0 (diff) |
added CommonLanguages gem
Diffstat (limited to 'engines/billing/config/routes.rb')
-rw-r--r-- | engines/billing/config/routes.rb | 2 |
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 |