Method: ActionDispatch::Routing::RouteSet::Generator#normalize_controller_action_id!
- Defined in:
- actionpack/lib/action_dispatch/routing/route_set.rb
#normalize_controller_action_id! ⇒ Object
This pulls :controller, :action, and :id out of the recall. The recall key is only used if there is no key in the options or if the key in the options is identical. If any of :controller, :action or :id is not found, don’t pull any more keys from the recall.
769 770 771 772 773 |
# File 'actionpack/lib/action_dispatch/routing/route_set.rb', line 769 def normalize_controller_action_id! use_recall_for(:controller) || return use_recall_for(:action) || return use_recall_for(:id) end |