DEV: Fix invalid constant after upgrading lograge to 0.11.0.

This commit is contained in:
Guo Xiang Tan 2019-04-29 16:19:29 +08:00
parent 1d784c7a18
commit 0f5161af19
1 changed files with 1 additions and 1 deletions

View File

@ -108,7 +108,7 @@ module Hijack
db_runtime = timings[:sql][:duration]
end
subscriber = Lograge::RequestLogSubscriber.new
subscriber = Lograge::Lograge::LogSubscribers::ActionController.new
payload = ActiveSupport::HashWithIndifferentAccess.new(
controller: self.class.name,
action: action_name,