diff options
author | Carlos Antonio da Silva <carlosantoniodasilva@gmail.com> | 2013-02-11 11:37:17 -0200 |
---|---|---|
committer | Carlos Antonio da Silva <carlosantoniodasilva@gmail.com> | 2013-02-11 11:37:17 -0200 |
commit | b1c72a3675d57a3a575563acbc120d125d2c667b (patch) | |
tree | 022cdaf18f73662feb178a302c2b94f0106de2a5 /actionpack/lib | |
parent | 7765ee0e4714b82150e525f9fee80f5b23e91662 (diff) | |
download | rails-b1c72a3675d57a3a575563acbc120d125d2c667b.tar.gz rails-b1c72a3675d57a3a575563acbc120d125d2c667b.tar.bz2 rails-b1c72a3675d57a3a575563acbc120d125d2c667b.zip |
Improve changelog entry from #9221 [ci skip]
Diffstat (limited to 'actionpack/lib')
-rw-r--r-- | actionpack/lib/action_view/helpers/asset_tag_helper.rb | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/actionpack/lib/action_view/helpers/asset_tag_helper.rb b/actionpack/lib/action_view/helpers/asset_tag_helper.rb index 6387b89a81..31e37893c6 100644 --- a/actionpack/lib/action_view/helpers/asset_tag_helper.rb +++ b/actionpack/lib/action_view/helpers/asset_tag_helper.rb @@ -215,11 +215,11 @@ module ActionView # Returns a string suitable for an html image tag alt attribute. # The +src+ argument is meant to be an image file path. - # The method removes the basename of the file path and the digest, + # The method removes the basename of the file path and the digest, # if any. It also removes hyphens and underscores from file names and # replaces them with spaces, returning a space-separated, titleized # string. - # + # # ==== Examples # # image_tag('rails.png') @@ -227,7 +227,7 @@ module ActionView # # image_tag('hyphenated-file-name.png') # # => <img alt="Hyphenated file name" src="/assets/hyphenated-file-name.png" /> - # + # # image_tag('underscored_file_name.png') # # => <img alt="Underscored file name" src="/assets/underscored_file_name.png" /> def image_alt(src) |