1
0
Fork 0
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:
Eileen M. Uchitelle 2019-03-19 09:29:00 -04:00 committed by GitHub
commit 299573adc6
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -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>