Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
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...
commit 90a243895f5c8e43691497ef2977e60adb7ca09b 1 parent 7827920
Avi Tzurel KensoDev authored
Showing with 1 addition and 1 deletion.
  1. +1 −1  actionpack/lib/action_view/helpers/text_helper.rb
2  actionpack/lib/action_view/helpers/text_helper.rb
View
@@ -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."
Please sign in to comment.
Something went wrong with that request. Please try again.