lib/telegram/bot/updates_controller/instrumentation.rb in telegram-bot-0.7.3 vs lib/telegram/bot/updates_controller/instrumentation.rb in telegram-bot-0.7.4
- old
+ new
@@ -4,10 +4,10 @@
# Most methods are taken from ActionController::Instrumentation,
# some are slightly modified.
module Instrumentation
class << self
def prepended(base)
- base.config_accessor :logger
+ base.send :config_accessor, :logger
base.extend ClassMethods
end
def instrument(action, *args, &block)
ActiveSupport::Notifications.instrument(