Commit 17ad1119935a001f23e0fe995763edd7ffb00653
1 parent
b43688e7
Exists in
master
and in
2 other branches
Moved attach_to call [skip ci]
Showing
2 changed files
with
2 additions
and
2 deletions
Show diff stats
lib/searchkick.rb
@@ -31,6 +31,8 @@ if defined?(ActiveSupport::Notifications) | @@ -31,6 +31,8 @@ if defined?(ActiveSupport::Notifications) | ||
31 | ActiveSupport.on_load(:action_controller) do | 31 | ActiveSupport.on_load(:action_controller) do |
32 | include Searchkick::ControllerRuntime | 32 | include Searchkick::ControllerRuntime |
33 | end | 33 | end |
34 | + | ||
35 | + Searchkick::LogSubscriber.attach_to :searchkick | ||
34 | end | 36 | end |
35 | 37 | ||
36 | module Searchkick | 38 | module Searchkick |
lib/searchkick/log_subscriber.rb