From 90a243895f5c8e43691497ef2977e60adb7ca09b Mon Sep 17 00:00:00 2001 From: Avi Tzurel Date: Sat, 19 May 2012 00:44:11 +0300 Subject: Minor fix to the wrapper tag documentation, the options hash is the last one, added blank hash before that in the args list --- actionpack/lib/action_view/helpers/text_helper.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'actionpack/lib') diff --git a/actionpack/lib/action_view/helpers/text_helper.rb b/actionpack/lib/action_view/helpers/text_helper.rb index db146d4a68..6d542c819f 100644 --- a/actionpack/lib/action_view/helpers/text_helper.rb +++ b/actionpack/lib/action_view/helpers/text_helper.rb @@ -243,7 +243,7 @@ module ActionView # simple_format(my_text) # # => "

Here is some basic text...\n
...with a line break.

" # - # simple_format(my_text, :wrapper_tag => "div") + # simple_format(my_text, , {} :wrapper_tag => "div") # # => "
Here is some basic text...\n
...with a line break.
" # # more_text = "We want to put a paragraph...\n\n...right there." -- cgit v1.2.3