summaryrefslogtreecommitdiff
path: root/config
diff options
context:
space:
mode:
authorjessib <jessib@riseup.net>2013-12-30 10:53:01 -0800
committerjessib <jessib@riseup.net>2013-12-30 10:53:01 -0800
commit62f31ab0358bc165c9a83806db1828365cb96572 (patch)
treee6c715c21723e54d2742bf97238e2e01abe8fc2a /config
parent314d6cce723558497165103658cbf013f1eb8e9a (diff)
parentf619178085d0c2729e275fa4f46f9cd981189d3e (diff)
Merge pull request #132 from elijh/feature/min-client-version
Return 'provider.json' via a controller
Diffstat (limited to 'config')
-rw-r--r--config/defaults.yml2
-rw-r--r--config/routes.rb1
2 files changed, 3 insertions, 0 deletions
diff --git a/config/defaults.yml b/config/defaults.yml
index 98dc334..6e14623 100644
--- a/config/defaults.yml
+++ b/config/defaults.yml
@@ -48,6 +48,8 @@ common: &common
default_locale: :en
available_locales:
- :en
+ minimum_client_version: "0.5"
+
service_levels: &service_levels
service_levels:
0:
diff --git a/config/routes.rb b/config/routes.rb
index 12bfe93..b3e24b9 100644
--- a/config/routes.rb
+++ b/config/routes.rb
@@ -6,4 +6,5 @@ LeapWeb::Application.routes.draw do
root :to => "home#index"
get '(:locale)' => 'home#index', :locale => MATCH_LOCALE, :as => 'home'
+ get '/provider.json' => 'static_config#provider'
end