diff options
author | jessib <jessib@riseup.net> | 2014-01-27 10:30:11 -0800 |
---|---|---|
committer | jessib <jessib@riseup.net> | 2014-01-27 10:30:11 -0800 |
commit | 7e0573f3347dca6323eae05127849431ecbceb77 (patch) | |
tree | 8a6ff58fdcc93493b5a8f332350b0a9292119906 /config/routes.rb | |
parent | 3bfbf0ad20bb5b8e4689fda287cd47738571d10d (diff) | |
parent | d578c07e196cd9758fbf1752a9bb8477c260bb30 (diff) |
Merge branch 'develop' into feature/messages_api
Conflicts:
users/config/locales/en.yml
Diffstat (limited to 'config/routes.rb')
-rw-r--r-- | config/routes.rb | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/config/routes.rb b/config/routes.rb index b3e24b9..f8bb8fb 100644 --- a/config/routes.rb +++ b/config/routes.rb @@ -6,5 +6,14 @@ LeapWeb::Application.routes.draw do root :to => "home#index" get '(:locale)' => 'home#index', :locale => MATCH_LOCALE, :as => 'home' + scope "(:locale)", :locale => MATCH_LOCALE, :controller => 'pages', :action => 'show' do + get 'privacy-policy', :as => 'privacy_policy' + get 'terms-of-service', :as => 'terms_of_service' + get 'about', :as => 'about' + get 'contact', :as => 'contact' + get 'pricing', :as => 'pricing' + get 'bye', :as => 'bye' + end + get '/provider.json' => 'static_config#provider' end |