summaryrefslogtreecommitdiff
path: root/config
diff options
context:
space:
mode:
authorazul <azul@riseup.net>2013-07-06 07:51:54 -0700
committerazul <azul@riseup.net>2013-07-06 07:51:54 -0700
commita18efa42ddc1cf8692d55f76ca3e92792913f40d (patch)
tree00527737a38bdafcd2e175bb6caf5e30b3360de1 /config
parentd03e82b4df5075f796f56fb9568992b0ba0d7c07 (diff)
parentdc98ad8c6445182d60b3f1909e0260ace6fbfca5 (diff)
Merge pull request #55 from elijh/feature/new-ui
Feature/new ui
Diffstat (limited to 'config')
-rw-r--r--config/application.rb7
-rw-r--r--config/defaults.yml9
-rw-r--r--config/initializers/i18n.rb2
-rw-r--r--config/locales/en.yml5
4 files changed, 15 insertions, 8 deletions
diff --git a/config/application.rb b/config/application.rb
index 957bb0d..5e52c7b 100644
--- a/config/application.rb
+++ b/config/application.rb
@@ -59,11 +59,18 @@ module LeapWeb
# parameters by using an attr_accessible or attr_protected declaration.
# config.active_record.whitelist_attributes = true
+ ##
+ ## ASSETS
+ ##
+
# Enable the asset pipeline
config.assets.enabled = true
config.assets.initialize_on_precompile = false
# Version of your assets, change this if you want to expire all your assets
config.assets.version = '1.0'
+
+ # Set to false in order to see asset requests in the log
+ config.quiet_assets = true
end
end
diff --git a/config/defaults.yml b/config/defaults.yml
index f3b92c0..54c5a23 100644
--- a/config/defaults.yml
+++ b/config/defaults.yml
@@ -16,9 +16,10 @@ cert_options: &cert_options
development:
<<: *dev_ca
<<: *cert_options
- admins: [admin, admin2]
- domain: develop.me
+ admins: [blue, admin, admin2]
+ domain: example.org
secret_token: '550df064dbc5052d9e192b324c1c5a1095c85a2195f88bd6f6829c63b74d8dffa4556494a2e8cc44345a1926be8b6cb17aa4b3f3102d826f5679c3fb57bb7100'
+ pagination_size: 30
test:
<<: *dev_ca
@@ -26,8 +27,10 @@ test:
admins: [admin, admin2]
domain: test.me
secret_token: '550df064dbc5052d9e192b324c1c5a1095c85a2195f88bd6f6829c63b74d8dffa4556494a2e8cc44345a1926be8b6cb17aa4b3f3102d826f5679c3fb57bb7100'
+ pagination_size: 30
production:
<<: *cert_options
admins: []
- domain: deploy.me
+ domain: example.net
+ pagination_size: 30 \ No newline at end of file
diff --git a/config/initializers/i18n.rb b/config/initializers/i18n.rb
new file mode 100644
index 0000000..574d169
--- /dev/null
+++ b/config/initializers/i18n.rb
@@ -0,0 +1,2 @@
+
+I18n.available_locales = ['en']
diff --git a/config/locales/en.yml b/config/locales/en.yml
index fc61c31..63f1c3e 100644
--- a/config/locales/en.yml
+++ b/config/locales/en.yml
@@ -1,6 +1 @@
-# Sample localization file for English. Add more files in this directory for other locales.
-# See https://github.com/svenfuchs/rails-i18n/tree/master/rails%2Flocale for starting points.
-
en:
- hello: "Hello world"
- no_such_thing: "No such %{thing}."