Module: Rage::Router::DSLPlugins::NamedRouteHelpers

Included in:
Rage::Router::DSL::Handler
Defined in:
lib/rage/router/dsl_plugins/named_route_helpers.rb

Overview

Support the as option. As Rage currently doesn’t generate named route helpers, we simply ignore it.

Examples:

get "/photos/:id", to: "photos#show", as: :user_photos