diff options
| author | Avi Tzurel <avi@kensodev.com> | 2012-05-19 00:44:11 +0300 |
|---|---|---|
| committer | Avi Tzurel <avi@kensodev.com> | 2012-05-19 00:44:11 +0300 |
| commit | 90a243895f5c8e43691497ef2977e60adb7ca09b (patch) | |
| tree | 53d9a20887124e0970578aea0b57065073bf02d9 | |
| parent | 782792002fdf9566b2cb2f27ea8c0c472f9a9ac5 (diff) | |
| download | rails-90a243895f5c8e43691497ef2977e60adb7ca09b.tar.gz rails-90a243895f5c8e43691497ef2977e60adb7ca09b.tar.bz2 rails-90a243895f5c8e43691497ef2977e60adb7ca09b.zip | |
Minor fix to the wrapper tag documentation, the options hash is the last one, added blank hash before that in the args list
| -rw-r--r-- | actionpack/lib/action_view/helpers/text_helper.rb | 2 |
1 files changed, 1 insertions, 1 deletions
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) # # => "<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." |
