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 c90a573 commit d25bdab
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 @@ -56,7 +56,7 @@
if File.exist? ("#{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 }
include_conversation_observer["observers"].each {|s| sym_include_conversation_observer.push s.to_sym }
config.active_record.observers = sym_include_conversation_observer
else
config.active_record.observers = [:cacher, :stream_item_cache]
Expand Down

0 comments on commit d25bdab

Please sign in to comment.