Skip to content
  • Tekin Suleyman's avatar
    9789cce9
    Preserve the default format when generating URLs · 9789cce9
    Tekin Suleyman authored
    Fixes an issue that would cause the format set in default_url_options to be lost
    when generating URLs with fewer positional arguments than parameters in the
    route definition.
    
    This is a backport of #18627 that only fixes the issue for :format so as not to
    break existing behaviour.
    
    Conflicts:
    	actionpack/lib/action_dispatch/routing/route_set.rb
    9789cce9
    Preserve the default format when generating URLs
    Tekin Suleyman authored
    Fixes an issue that would cause the format set in default_url_options to be lost
    when generating URLs with fewer positional arguments than parameters in the
    route definition.
    
    This is a backport of #18627 that only fixes the issue for :format so as not to
    break existing behaviour.
    
    Conflicts:
    	actionpack/lib/action_dispatch/routing/route_set.rb
Loading