diff options
author | Alberto Almagro <albertoalmagro@gmail.com> | 2018-12-12 00:23:13 +0100 |
---|---|---|
committer | Alberto Almagro <albertoalmagro@gmail.com> | 2019-05-22 23:03:56 +0200 |
commit | 963b3ed9b670dd44e2cf1c61c894f0b849847a25 (patch) | |
tree | 0177d849c4eadfc57ada2395ac35562a5a7941b9 /actionpack/lib/action_dispatch/routing/polymorphic_routes.rb | |
parent | 29506d0f03a76b09497d1a392ef1adbddf776102 (diff) | |
download | rails-963b3ed9b670dd44e2cf1c61c894f0b849847a25.tar.gz rails-963b3ed9b670dd44e2cf1c61c894f0b849847a25.tar.bz2 rails-963b3ed9b670dd44e2cf1c61c894f0b849847a25.zip |
Use keyword arguments for ActionDispatch::Routing::Mapper::Mapping constructor
This commit changes from constructor's argument list to keyword
arguments in order to remove the dependency of remember parameters'
positions.
It also unifies all parameters extracted from the `scope` into
`scope_params`, which also takes care of providing the default values
for them.
Diffstat (limited to 'actionpack/lib/action_dispatch/routing/polymorphic_routes.rb')
0 files changed, 0 insertions, 0 deletions