Permalink
Browse files

I am a complete moron.

  • Loading branch information...
1 parent e133a06 commit 70810bd2ea5178d62b25fce008545b7648ad2cd8 @nmanzi committed Oct 7, 2011
Showing with 2 additions and 2 deletions.
  1. +1 −1 .gitignore
  2. +1 −1 config/initializers/load_config.rb
View
@@ -4,4 +4,4 @@ log/*.log
tmp/
.sass-cache/
public/assets/
-config/config.yaml
@nmanzi

nmanzi Oct 7, 2011

Owner

HURRRR.

+config/config.yml
@@ -1 +1 @@
-APP_CONFIG = YAML.load_file("#{RAILS_ROOT}/config/config.yml")[RAILS_ENV]
+APP_CONFIG = YAML.load_file("#{Rails.root}/config/config.yml")[Rails.env]
@nmanzi

nmanzi Oct 7, 2011

Owner

Rails 3 mistake

0 comments on commit 70810bd

Please sign in to comment.