Module: NamedRoutes

Extended by:
NamedRoutes
Included in:
NamedRoutes
Defined in:
lib/named-routes.rb,
lib/named-routes/routes.rb,
lib/named-routes/concern.rb,
lib/named-routes/schemed_uri.rb

Defined Under Namespace

Classes: Routes, SchemedUri

Instance Method Summary collapse

Instance Method Details

#named_route(*args, &block) ⇒ Object Also known as: path, route, uri



18
19
20
# File 'lib/named-routes.rb', line 18

def named_route(*args, &block)
  named_routes.uri(*args, &block)
end

#named_routesObject Also known as: paths, routes, uris



25
26
27
# File 'lib/named-routes.rb', line 25

def named_routes
  ::NamedRoutes::Routes
end