# File lib/action_controller/middleware_stack.rb, line 101 def swap(target, *args, &block) insert_before(target, *args, &block) delete(target) end