summaryrefslogtreecommitdiff
path: root/config/routes.rb
diff options
context:
space:
mode:
authorjessib <jessib@riseup.net>2014-01-23 12:05:58 -0800
committerjessib <jessib@riseup.net>2014-01-23 12:05:58 -0800
commitd578c07e196cd9758fbf1752a9bb8477c260bb30 (patch)
tree4dcbef4b1b2ea9dcd52cf98f1bb98b371a93c631 /config/routes.rb
parent01941b7d930c581a6684f6b939b3ae2f62bd832e (diff)
parentce412a9a0ccce22b5b9d90f70369b91d5fc46e4f (diff)
Merge pull request #135 from elijh/feature/pages
add some static pages
Diffstat (limited to 'config/routes.rb')
-rw-r--r--config/routes.rb9
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