From 0f5161af195a06692af25355e985ee9f6c90e173 Mon Sep 17 00:00:00 2001 From: Guo Xiang Tan Date: Mon, 29 Apr 2019 16:19:29 +0800 Subject: [PATCH] DEV: Fix invalid constant after upgrading lograge to 0.11.0. --- lib/hijack.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/hijack.rb b/lib/hijack.rb index 3fa4b72dc43..6d453a0fda1 100644 --- a/lib/hijack.rb +++ b/lib/hijack.rb @@ -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,