diff options
author | Adrien <adrien.siami@gmail.com> | 2014-01-07 12:38:24 +0100 |
---|---|---|
committer | Adrien <adrien.siami@gmail.com> | 2014-01-07 12:38:24 +0100 |
commit | 98c3586415150e90cea49003a0be6c5eef84a370 (patch) | |
tree | a99929e49070c49904e6c81ebc59e96dd0e35ef7 /actionview | |
parent | ab21f42245b1e6fa9ccf03d4ebe190803add1569 (diff) | |
download | rails-98c3586415150e90cea49003a0be6c5eef84a370.tar.gz rails-98c3586415150e90cea49003a0be6c5eef84a370.tar.bz2 rails-98c3586415150e90cea49003a0be6c5eef84a370.zip |
Fix typo in image_tag documentation
image_tag only supports :alt and :size as additional keys, not three.
Diffstat (limited to 'actionview')
-rw-r--r-- | actionview/lib/action_view/helpers/asset_tag_helper.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/actionview/lib/action_view/helpers/asset_tag_helper.rb b/actionview/lib/action_view/helpers/asset_tag_helper.rb index ea1aadcc43..aa49f1edc1 100644 --- a/actionview/lib/action_view/helpers/asset_tag_helper.rb +++ b/actionview/lib/action_view/helpers/asset_tag_helper.rb @@ -176,7 +176,7 @@ module ActionView # ==== Options # # You can add HTML attributes using the +options+. The +options+ supports - # three additional keys for convenience and conformance: + # two additional keys for convenience and conformance: # # * <tt>:alt</tt> - If no alt text is given, the file name part of the # +source+ is used (capitalized and without the extension) |