1
0
Fork 0
mirror of https://github.com/rails/rails.git synced 2022-11-09 12:12:34 -05:00

Fix View.new method call with arguments syntax

[ci skip]
This commit is contained in:
Ryuta Kamizono 2018-12-18 07:16:55 +09:00 committed by GitHub
parent 51a1abc8fb
commit 30eab94d2f
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -65,7 +65,7 @@ module ActionView
#
# The view class must have the following methods:
#
# * <tt>View.new[lookup_context, assigns, controller]</tt> — Create a new
# * <tt>View.new(lookup_context, assigns, controller)</tt> — Create a new
# ActionView instance for a controller and we can also pass the arguments.
#
# * <tt>View#render(option)</tt> — Returns String with the rendered template.