summaryrefslogtreecommitdiff
path: root/config/routes.rb
diff options
context:
space:
mode:
authorelijah <elijah@riseup.net>2014-01-21 13:54:45 -0800
committerelijah <elijah@riseup.net>2014-01-23 11:37:49 -0800
commit87383e624855def55e13d238b2f20b79c418c1d9 (patch)
treebfba7820ab8ed90b433c5e0fc56def4c7ea523fc /config/routes.rb
parent01941b7d930c581a6684f6b939b3ae2f62bd832e (diff)
added default pricing, privacy policy and tos pages.
Diffstat (limited to 'config/routes.rb')
-rw-r--r--config/routes.rb8
1 files changed, 8 insertions, 0 deletions
diff --git a/config/routes.rb b/config/routes.rb
index b3e24b9..f8f0c26 100644
--- a/config/routes.rb
+++ b/config/routes.rb
@@ -6,5 +6,13 @@ 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'
+ end
+
get '/provider.json' => 'static_config#provider'
end