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:
parent
51a1abc8fb
commit
30eab94d2f
1 changed files with 1 additions and 1 deletions
|
@ -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.
|
||||
|
|
Loading…
Reference in a new issue