mirror of
https://github.com/rails/rails.git
synced 2022-11-09 12:12:34 -05:00
Merge pull request #35358 from tjwallace/patch-1
Add documentation for the resource(s) :param option
This commit is contained in:
commit
299573adc6
1 changed files with 3 additions and 0 deletions
|
@ -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>
|
||||
|
|
Loading…
Reference in a new issue