diff options
| author | Azul <azul@leap.se> | 2012-11-04 15:47:34 +0100 |
|---|---|---|
| committer | Azul <azul@leap.se> | 2012-11-04 15:47:34 +0100 |
| commit | 675b626378fcaad6bca2abfd7086ca05fa17f76f (patch) | |
| tree | bd9e14dd52e109d03786014b7a0e38ba870bcc87 /config | |
| parent | 023d91a7ad605a9f941ad36c5d002172b25387a3 (diff) | |
| parent | 872b9fa6759d5708f5efb19ba46b3c8e2b5d4862 (diff) | |
Merge branch 'feature-admin_users' into develop
Diffstat (limited to 'config')
| -rw-r--r-- | config/config.yml.example | 8 | ||||
| -rw-r--r-- | config/initializers/load_config.rb | 1 |
2 files changed, 9 insertions, 0 deletions
diff --git a/config/config.yml.example b/config/config.yml.example new file mode 100644 index 0000000..e3a0112 --- /dev/null +++ b/config/config.yml.example @@ -0,0 +1,8 @@ +development: + admins: [admin, admin2] + +test: + admins: [admin, admin2] + +production + admins: [] diff --git a/config/initializers/load_config.rb b/config/initializers/load_config.rb new file mode 100644 index 0000000..e687429 --- /dev/null +++ b/config/initializers/load_config.rb @@ -0,0 +1 @@ +APP_CONFIG = YAML.load_file("#{Rails.root}/config/config.yml")[Rails.env] |
