Class: ActionDispatch::Routing::RouteSet::StaticDispatcher
- Inherits:
-
Dispatcher
- Object
- Endpoint
- Dispatcher
- ActionDispatch::Routing::RouteSet::StaticDispatcher
- Defined in:
- lib/action_dispatch/routing/route_set.rb
Instance Method Summary collapse
-
#initialize(controller_class) ⇒ StaticDispatcher
constructor
A new instance of StaticDispatcher.
Methods inherited from Dispatcher
Methods inherited from Endpoint
#app, #dispatcher?, #engine?, #matches?, #rack_app, #redirect?
Constructor Details
#initialize(controller_class) ⇒ StaticDispatcher
Returns a new instance of StaticDispatcher.
57 58 59 60 |
# File 'lib/action_dispatch/routing/route_set.rb', line 57 def initialize(controller_class) super(false) @controller_class = controller_class end |