lib/commontator/controllers.rb in commontator-6.1.1 vs lib/commontator/controllers.rb in commontator-6.2.0
- old
+ new
@@ -29,6 +29,8 @@
@commontator_thread_show = true
@commontator_thread.mark_as_read_for(@commontator_user)
end
end
-ActionController::Base.send :include, Commontator::Controllers
+ActiveSupport.on_load :action_controller do
+ include Commontator::Controllers
+end