aboutsummaryrefslogtreecommitdiffstats
path: root/actionview
diff options
context:
space:
mode:
authorGaurav Sharma <gaurav2728@gmail.com>2014-05-24 10:55:25 +0530
committerGaurav Sharma <gaurav2728@gmail.com>2014-05-24 23:18:29 +0530
commitb4db241a6e40bda4a966d9355b3e7696f11a4a23 (patch)
treedf1d0098be6833ba2c73d597a0024050fcc13e1c /actionview
parente2bd0eb758100a5d6f55201318809a7ed7b37040 (diff)
downloadrails-b4db241a6e40bda4a966d9355b3e7696f11a4a23.tar.gz
rails-b4db241a6e40bda4a966d9355b3e7696f11a4a23.tar.bz2
rails-b4db241a6e40bda4a966d9355b3e7696f11a4a23.zip
documentation fix
Diffstat (limited to 'actionview')
-rw-r--r--actionview/lib/action_view/rendering.rb4
1 files changed, 2 insertions, 2 deletions
diff --git a/actionview/lib/action_view/rendering.rb b/actionview/lib/action_view/rendering.rb
index 017302d40f..c92d090cce 100644
--- a/actionview/lib/action_view/rendering.rb
+++ b/actionview/lib/action_view/rendering.rb
@@ -62,8 +62,8 @@ module ActionView
#
# The view class must have the following methods:
# View.new[lookup_context, assigns, controller]
- # Create a new ActionView instance for a controller
- # View#render[options]
+ # Create a new ActionView instance for a controller and we can also pass the arguments.
+ # View#render(option)
# Returns String with the rendered template
#
# Override this method in a module to change the default behavior.