Permalink
Browse files

Change secret_key to secret to match facebook.yml

  • Loading branch information...
Bruno Wernimont
Bruno Wernimont committed Jan 3, 2011
1 parent 77727d2 commit 5d1e527d1199293ed9557658074dd18b768ab0e2
Showing with 2 additions and 2 deletions.
  1. +2 −2 lib/generators/koala/install/templates/config/initializers/koala.rb.tt
@@ -5,9 +5,9 @@
require "koala"
module Facebook
- CONFIG = YAML.load(ERB.new(File.read("#{RAILS_ROOT}/config/facebook.yml")).result)[RAILS_ENV]
+ CONFIG = YAML.load(ERB.new(File.read("#{RAILS_ROOT}/config/facebook.yml")).result)[Rails.env]
APP_ID = CONFIG['app_id']
- SECRET = CONFIG['secret_key']
+ SECRET = CONFIG['secret']
end
Koala::Facebook::OAuth.class_eval do

0 comments on commit 5d1e527

Please sign in to comment.