Permalink
Browse files

Minor fix to the wrapper tag documentation, the options hash is the l…

…ast one, added blank hash before that in the args list
  • Loading branch information...
1 parent 7827920 commit 90a243895f5c8e43691497ef2977e60adb7ca09b @KensoDev KensoDev committed May 18, 2012
Showing with 1 addition and 1 deletion.
  1. +1 −1 actionpack/lib/action_view/helpers/text_helper.rb
@@ -243,7 +243,7 @@ def word_wrap(text, *args)
# simple_format(my_text)
# # => "<p>Here is some basic text...\n<br />...with a line break.</p>"
#
- # simple_format(my_text, :wrapper_tag => "div")
+ # simple_format(my_text, , {} :wrapper_tag => "div")
# # => "<div>Here is some basic text...\n<br />...with a line break.</div>"
#
# more_text = "We want to put a paragraph...\n\n...right there."

0 comments on commit 90a2438

Please sign in to comment.