1 2 3 4 5 6 7 8 9 10 11 12 13
require "active_support/core_ext/logger" require "active_support/benchmarkable" module AbstractController module Logger extend ActiveSupport::Concern included do config_accessor :logger include ActiveSupport::Benchmarkable end end end