aboutsummaryrefslogtreecommitdiffstats
path: root/actionpack/lib/action_view/helpers
diff options
context:
space:
mode:
authorCesar Carruitero <cesar@mozilla.pe>2012-10-21 14:17:40 -0500
committerCesar Carruitero <cesar@mozilla.pe>2012-10-21 14:17:40 -0500
commit40b0cecea2f4d7ee2e6c1210e6b33d9cdb788ed9 (patch)
tree0782a96258b571de6ab8712612b3475574f2c13f /actionpack/lib/action_view/helpers
parente32bbc1356a7e72f721373344202c3d63fc37312 (diff)
downloadrails-40b0cecea2f4d7ee2e6c1210e6b33d9cdb788ed9.tar.gz
rails-40b0cecea2f4d7ee2e6c1210e6b33d9cdb788ed9.tar.bz2
rails-40b0cecea2f4d7ee2e6c1210e6b33d9cdb788ed9.zip
fix error in AssertTagHelper documentation [ci skip]
Diffstat (limited to 'actionpack/lib/action_view/helpers')
-rw-r--r--actionpack/lib/action_view/helpers/asset_tag_helper.rb10
1 files changed, 5 insertions, 5 deletions
diff --git a/actionpack/lib/action_view/helpers/asset_tag_helper.rb b/actionpack/lib/action_view/helpers/asset_tag_helper.rb
index d6a2f36c8e..31316fcdd9 100644
--- a/actionpack/lib/action_view/helpers/asset_tag_helper.rb
+++ b/actionpack/lib/action_view/helpers/asset_tag_helper.rb
@@ -40,7 +40,7 @@ module ActionView
#
# javascript_include_tag "common.javascript", "/elsewhere/cools"
# # => <script src="/assets/common.javascript?1284139606"></script>
- # # <script src="/assets/elsewhere/cools.js?1423139606"></script>
+ # # <script src="/elsewhere/cools.js?1423139606"></script>
#
# javascript_include_tag "http://www.example.com/xmlhr"
# # => <script src="http://www.example.com/xmlhr"></script>
@@ -82,7 +82,7 @@ module ActionView
#
# stylesheet_link_tag "random.styles", "/css/stylish"
# # => <link href="/assets/random.styles" media="screen" rel="stylesheet" />
- # # <link href="/assets/css/stylish.css" media="screen" rel="stylesheet" />
+ # # <link href="/css/stylish.css" media="screen" rel="stylesheet" />
#
def stylesheet_link_tag(*sources)
options = sources.extract_options!.stringify_keys
@@ -186,11 +186,11 @@ module ActionView
# image_tag("icon.png", :size => "16x10", :alt => "Edit Entry")
# # => <img src="/assets/icon.png" width="16" height="10" alt="Edit Entry" />
# image_tag("/icons/icon.gif", :size => "16")
- # # => <img src="/assets/icons/icon.gif" width="16" height="16" alt="Icon" />
+ # # => <img src="/icons/icon.gif" width="16" height="16" alt="Icon" />
# image_tag("/icons/icon.gif", :height => '32', :width => '32')
- # # => <img alt="Icon" height="32" src="/assets/icons/icon.gif" width="32" />
+ # # => <img alt="Icon" height="32" src="/icons/icon.gif" width="32" />
# image_tag("/icons/icon.gif", :class => "menu_icon")
- # # => <img alt="Icon" class="menu_icon" src="/assets/icons/icon.gif" />
+ # # => <img alt="Icon" class="menu_icon" src="/icons/icon.gif" />
def image_tag(source, options={})
options = options.symbolize_keys