Class: ActionSubscriber::Middleware::Runner
- Inherits:
- 
      Middleware::Runner
      
        - Object
- Middleware::Runner
- ActionSubscriber::Middleware::Runner
 
- Defined in:
- lib/action_subscriber/middleware/runner.rb
Instance Method Summary collapse
- 
  
    
      #initialize(stack)  ⇒ Runner 
    
    
  
  
  
    constructor
  
  
  
  
  
  
  
    Override the default middleware runner so we can ensure that the router is the last thing called in the stack. 
Constructor Details
#initialize(stack) ⇒ Runner
Override the default middleware runner so we can ensure that the router is the last thing called in the stack.
| 9 10 11 12 13 | # File 'lib/action_subscriber/middleware/runner.rb', line 9 def initialize(stack) stack << ::ActionSubscriber::Middleware::Router super(stack) end |