class ActionSubscriber::Middleware::Runner

Public Class Methods

new(stack) click to toggle source

Override the default middleware runner so we can ensure that the router is the last thing called in the stack.

Calls superclass method
# File lib/action_subscriber/middleware/runner.rb, line 9
def initialize(stack)
  stack << ::ActionSubscriber::Middleware::Router

  super(stack)
end