aboutsummaryrefslogtreecommitdiffstats
path: root/actionpack/lib/action_dispatch/routing/polymorphic_routes.rb
diff options
context:
space:
mode:
authorAlberto Almagro <albertoalmagro@gmail.com>2018-12-12 00:23:13 +0100
committerAlberto Almagro <albertoalmagro@gmail.com>2019-05-22 23:03:56 +0200
commit963b3ed9b670dd44e2cf1c61c894f0b849847a25 (patch)
tree0177d849c4eadfc57ada2395ac35562a5a7941b9 /actionpack/lib/action_dispatch/routing/polymorphic_routes.rb
parent29506d0f03a76b09497d1a392ef1adbddf776102 (diff)
downloadrails-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