Skip to content

Commit

Permalink
Fix View.new method call with arguments syntax
Browse files Browse the repository at this point in the history
[ci skip]
  • Loading branch information
kamipo committed Dec 17, 2018
1 parent 51a1abc commit 30eab94
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion actionview/lib/action_view/rendering.rb
Original file line number Diff line number Diff line change
Expand Up @@ -65,7 +65,7 @@ def view_context_class
#
# 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.
Expand Down

0 comments on commit 30eab94

Please sign in to comment.