diff options
author | Eileen M. Uchitelle <eileencodes@users.noreply.github.com> | 2019-03-19 09:29:00 -0400 |
---|---|---|
committer | GitHub <noreply@github.com> | 2019-03-19 09:29:00 -0400 |
commit | 299573adc60fe0f7aa68f9c66df5ffe2efb0df40 (patch) | |
tree | 18552ba4d94a81b2d8a69f2abe68d74b55c767d0 /actionpack/lib/action_dispatch | |
parent | e633560db1a2ee3e5946315fc33efad4d7402969 (diff) | |
parent | e3853bd5b4ad31c20be4e8df894e95876c4307e3 (diff) | |
download | rails-299573adc60fe0f7aa68f9c66df5ffe2efb0df40.tar.gz rails-299573adc60fe0f7aa68f9c66df5ffe2efb0df40.tar.bz2 rails-299573adc60fe0f7aa68f9c66df5ffe2efb0df40.zip |
Merge pull request #35358 from tjwallace/patch-1
Add documentation for the resource(s) :param option
Diffstat (limited to 'actionpack/lib/action_dispatch')
-rw-r--r-- | actionpack/lib/action_dispatch/routing/mapper.rb | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/actionpack/lib/action_dispatch/routing/mapper.rb b/actionpack/lib/action_dispatch/routing/mapper.rb index d67044b4ac..da3ade652e 100644 --- a/actionpack/lib/action_dispatch/routing/mapper.rb +++ b/actionpack/lib/action_dispatch/routing/mapper.rb @@ -1440,6 +1440,9 @@ module ActionDispatch # Allows you to specify the default value for optional +format+ # segment or disable it by supplying +false+. # + # [:param] + # Allows you to override the default param name of +:id+ in the URL. + # # === Examples # # # routes call <tt>Admin::PostsController</tt> |