summaryrefslogtreecommitdiff
path: root/config
diff options
context:
space:
mode:
authorAzul <azul@leap.se>2012-10-29 12:08:25 +0100
committerAzul <azul@leap.se>2012-10-29 12:08:25 +0100
commita2a8caf577415ef51c0f99da43f9b47bde226fc6 (patch)
treecbb982c7868b8eabc8857af8cd85394c58335814 /config
parent2c2a80812818362d0e0c416deefd4aee2787dd9e (diff)
first steps at is_admin?
Diffstat (limited to 'config')
-rw-r--r--config/initializers/load_config.rb1
1 files changed, 1 insertions, 0 deletions
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]