module Roda::RodaPlugins::NamedRoutes::RequestMethods

  1. lib/roda/plugins/named_routes.rb

Methods

Public Instance

  1. route

Public Instance methods

route(name, namespace=nil)

Dispatch to the named route with the given name.

[show source]
    # File lib/roda/plugins/named_routes.rb
159 def route(name, namespace=nil)
160   scope.send(roda_class.named_route(name, namespace), self)
161 end