diff options
author | Ryuta Kamizono <kamipo@gmail.com> | 2018-12-18 07:16:55 +0900 |
---|---|---|
committer | GitHub <noreply@github.com> | 2018-12-18 07:16:55 +0900 |
commit | 30eab94d2f0aded3cdbba1461dcfae08cc381822 (patch) | |
tree | efaf22ec7b188dc99c9790aceb59e53edf7dcb63 /actionview | |
parent | 51a1abc8fb9a47bb4779ce5b4701c11041eaca39 (diff) | |
download | rails-30eab94d2f0aded3cdbba1461dcfae08cc381822.tar.gz rails-30eab94d2f0aded3cdbba1461dcfae08cc381822.tar.bz2 rails-30eab94d2f0aded3cdbba1461dcfae08cc381822.zip |
Fix `View.new` method call with arguments syntax
[ci skip]
Diffstat (limited to 'actionview')
-rw-r--r-- | actionview/lib/action_view/rendering.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/actionview/lib/action_view/rendering.rb b/actionview/lib/action_view/rendering.rb index dfe58c3440..cb4327cf16 100644 --- a/actionview/lib/action_view/rendering.rb +++ b/actionview/lib/action_view/rendering.rb @@ -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. |