diff options
author | Jeff Wallace <jeff@tjwallace.ca> | 2019-02-21 08:56:16 -0800 |
---|---|---|
committer | GitHub <noreply@github.com> | 2019-02-21 08:56:16 -0800 |
commit | e3853bd5b4ad31c20be4e8df894e95876c4307e3 (patch) | |
tree | 80d15c2867230eaa677bf40146a4f48c135eee20 | |
parent | 3b6602aa7a01fb415fce07ef32458b131e5762e1 (diff) | |
download | rails-e3853bd5b4ad31c20be4e8df894e95876c4307e3.tar.gz rails-e3853bd5b4ad31c20be4e8df894e95876c4307e3.tar.bz2 rails-e3853bd5b4ad31c20be4e8df894e95876c4307e3.zip |
Add documentation for the resource(s) :param option
-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> |