Flowdock
method

assign_route_options

Importance_1
v2.2.1 - Show latest stable - 0 notes - Class: ActionController::Routing::RouteBuilder
assign_route_options(segments, defaults, requirements) public

Takes a hash of defaults and a hash of requirements, and assigns them to the segments. Any unused requirements (which do not correspond to a segment) are returned as a hash.

Show source
Register or log in to add new notes.