Class: ActionDispatch::Routing::RouteSet::StaticDispatcher

Inherits:
Dispatcher show all
Defined in:
lib/action_dispatch/routing/route_set.rb

Instance Method Summary collapse

Methods inherited from Dispatcher

#dispatcher?, #serve

Methods inherited from Endpoint

#app, #dispatcher?, #engine?, #matches?, #rack_app, #redirect?

Constructor Details

#initialize(controller_class) ⇒ StaticDispatcher

Returns a new instance of StaticDispatcher.



55
56
57
58
# File 'lib/action_dispatch/routing/route_set.rb', line 55

def initialize(controller_class)
  super(false)
  @controller_class = controller_class
end