diff options
author | Nihad Abbasov <mail@narkoz.me> | 2012-09-25 23:20:57 +0600 |
---|---|---|
committer | Nihad Abbasov <mail@narkoz.me> | 2012-09-25 23:20:57 +0600 |
commit | a200ebd8818d045e035c6e025733f8868f5a0181 (patch) | |
tree | 78ef9ecda6e1b900a5362dc5fd9279833e16845d /actionpack/lib | |
parent | 2029c2ac18c12a08f0ddfdcadf90e50c54520895 (diff) | |
download | rails-a200ebd8818d045e035c6e025733f8868f5a0181.tar.gz rails-a200ebd8818d045e035c6e025733f8868f5a0181.tar.bz2 rails-a200ebd8818d045e035c6e025733f8868f5a0181.zip |
update image_tag output in examples to actual
[ci-skip]
Diffstat (limited to 'actionpack/lib')
-rw-r--r-- | actionpack/lib/action_view/helpers/asset_tag_helper.rb | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/actionpack/lib/action_view/helpers/asset_tag_helper.rb b/actionpack/lib/action_view/helpers/asset_tag_helper.rb index db4da6f9c8..e0e6ab1c9a 100644 --- a/actionpack/lib/action_view/helpers/asset_tag_helper.rb +++ b/actionpack/lib/action_view/helpers/asset_tag_helper.rb @@ -369,13 +369,13 @@ module ActionView # value is not in the correct format. # # image_tag("icon") - # # => <img src="/assets/icon" alt="Icon" /> + # # => <img alt="Icon" src="/assets/icon" /> # image_tag("icon.png") - # # => <img src="/assets/icon.png" alt="Icon" /> + # # => <img alt="Icon" src="/assets/icon.png" /> # image_tag("icon.png", :size => "16x10", :alt => "Edit Entry") - # # => <img src="/assets/icon.png" width="16" height="10" alt="Edit Entry" /> + # # => <img alt="Edit Entry" height="10" src="/assets/icon.png" width="16" /> # image_tag("/icons/icon.gif", :size => "16x16") - # # => <img src="/icons/icon.gif" width="16" height="16" alt="Icon" /> + # # => <img alt="Icon" height="16" src="/icons/icon.gif" width="16" /> # image_tag("/icons/icon.gif", :height => '32', :width => '32') # # => <img alt="Icon" height="32" src="/icons/icon.gif" width="32" /> # image_tag("/icons/icon.gif", :class => "menu_icon") |