Skip to content

Commit

Permalink
oops
Browse files Browse the repository at this point in the history
  • Loading branch information
ogg committed Oct 31, 2013
1 parent c59fd09 commit c90a573
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion config/shared_boot.rb
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,7 @@
#config.active_record.observers = [:cacher, :stream_item_cache]

if File.exist? ("#{RAILS_ROOT}/config/observer_config.json")
include_conversation_observer = JSON.parse(File.open("#{RAILS_ROOT}/config/observer_config.json"))
include_conversation_observer = JSON.parse(File.read("#{RAILS_ROOT}/config/observer_config.json"))
sym_include_conversation_observer = []
include_conversation_observer.each {|s| sym_include_conversation_observer.push s.to_sym }
config.active_record.observers = sym_include_conversation_observer
Expand Down

0 comments on commit c90a573

Please sign in to comment.