Module: Roda::RodaPlugins::MultiRoute::InstanceMethods
- Defined in:
- lib/roda/plugins/multi_route.rb
Instance Method Summary collapse
-
#route(name) ⇒ Object
Dispatch to the named route with the given name.
Instance Method Details
#route(name) ⇒ Object
Dispatch to the named route with the given name.
69 70 71 |
# File 'lib/roda/plugins/multi_route.rb', line 69 def route(name) instance_exec(request, &self.class.named_route(name)) end |