From fdf36d8110d92f038c2a37a5282f198e3a454540 Mon Sep 17 00:00:00 2001 From: Akshay Vishnoi Date: Fri, 15 Nov 2013 00:23:35 +0530 Subject: class methods moved to already defined class< "ActionDispatch::Reloader" - end - def self.before(*args, &block) - set_callback(:call, :before, *args, &block) - end + def before(*args, &block) + set_callback(:call, :before, *args, &block) + end - def self.after(*args, &block) - set_callback(:call, :after, *args, &block) + def after(*args, &block) + set_callback(:call, :after, *args, &block) + end end def initialize(app) -- cgit v1.2.3