method

assign_default_route_options

assign_default_route_options(segments)
public

Assign default options, such as ‘index’ as a default for :action. This method must be run after user supplied requirements and defaults have been applied to the segments.