config/initializers/observers.rb in skylinecms-3.2.0 vs config/initializers/observers.rb in skylinecms-3.3.0
- old
+ new
@@ -1,6 +1,6 @@
unless ( File.basename($0) == "rake" && ARGV.include?("skyline:db:migrate") )
- ActiveRecord::Base.observers = [
+ ActiveRecord::Base.observers += [
"Skyline::FileCacheSweeper",
"Skyline::ArticleVersionObserver"
]
end
\ No newline at end of file