lib/effective_logging/engine.rb in effective_logging-1.11.0 vs lib/effective_logging/engine.rb in effective_logging-1.11.1

- old
+ new

@@ -32,10 +32,10 @@ ActiveSupport.on_load :active_record do ActiveRecord::Base.extend(ActsAsLoggable::ActiveRecord) end end - # # Register the log_page_views concern so that it can be called in ActionController or elsewhere + # Register the log_page_views concern so that it can be called in ActionController or elsewhere initializer 'effective_logging.log_changes_action_controller' do |app| Rails.application.config.to_prepare do ActiveSupport.on_load :action_controller do require 'effective_logging/set_current_user' ActionController::Base.include(EffectiveLogging::SetCurrentUser::ActionController)