Permalink
Browse files

Added config loader and file

  • Loading branch information...
1 parent b855ed0 commit 1c8ba466124fe0c84ed1758ec9a299d6848de7c5 @nmanzi committed Oct 6, 2011
Showing with 4 additions and 0 deletions.
  1. +3 −0 config/config.yaml
  2. +1 −0 config/initializers/load_config.rb
View
@@ -0,0 +1,3 @@
+# Define below values before running app
+username: user
+password: password
@@ -0,0 +1 @@
+APP_CONFIG = YAML.load_file("#{RAILS_ROOT}/config/config.yml")[RAILS_ENV]

0 comments on commit 1c8ba46

Please sign in to comment.