From b1c72a3675d57a3a575563acbc120d125d2c667b Mon Sep 17 00:00:00 2001 From: Carlos Antonio da Silva Date: Mon, 11 Feb 2013 11:37:17 -0200 Subject: Improve changelog entry from #9221 [ci skip] --- actionpack/lib/action_view/helpers/asset_tag_helper.rb | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'actionpack/lib/action_view') 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') # # => Hyphenated file name - # + # # image_tag('underscored_file_name.png') # # => Underscored file name def image_alt(src) -- cgit v1.2.3