Method: ActionDispatch::Routing::RouteSet::Generator#use_recall_for
- Defined in:
- actionpack/lib/action_dispatch/routing/route_set.rb
#use_recall_for(key) ⇒ Object
725 726 727 728 729 730 731 |
# File 'actionpack/lib/action_dispatch/routing/route_set.rb', line 725 def use_recall_for(key) if @recall[key] && (!.key?(key) || [key] == @recall[key]) if !named_route_exists? || segment_keys.include?(key) [key] = @recall[key] end end end |