diff options
author | David Heinemeier Hansson <david@loudthinking.com> | 2008-03-15 19:54:02 +0000 |
---|---|---|
committer | David Heinemeier Hansson <david@loudthinking.com> | 2008-03-15 19:54:02 +0000 |
commit | d0bc724786906644d7ce00e28ca62f5c308f4309 (patch) | |
tree | 53173657cbd0773897e96766ee564b95f7eb6326 /actionpack/lib/action_view | |
parent | 5b58bc1963a750f7136ebf322dae071995401677 (diff) | |
download | rails-d0bc724786906644d7ce00e28ca62f5c308f4309.tar.gz rails-d0bc724786906644d7ce00e28ca62f5c308f4309.tar.bz2 rails-d0bc724786906644d7ce00e28ca62f5c308f4309.zip |
Docfix (closes #11281) [jlindley]
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@9029 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
Diffstat (limited to 'actionpack/lib/action_view')
-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 c2e4df3351..48f7c10e4f 100644 --- a/actionpack/lib/action_view/helpers/asset_tag_helper.rb +++ b/actionpack/lib/action_view/helpers/asset_tag_helper.rb @@ -17,7 +17,7 @@ module ActionView # ActionController::Base.asset_host = "assets.example.com" # image_tag("rails.png") # => <img src="http://assets.example.com/images/rails.png" alt="Rails" /> - # stylesheet_include_tag("application") + # stylesheet_link_tag("application") # => <link href="http://assets.example.com/stylesheets/application.css" media="screen" rel="stylesheet" type="text/css" /> # # This is useful since browsers typically open at most two connections to a single host, @@ -28,7 +28,7 @@ module ActionView # # image_tag("rails.png") # => <img src="http://assets0.example.com/images/rails.png" alt="Rails" /> - # stylesheet_include_tag("application") + # stylesheet_link_tag("application") # => <link href="http://assets3.example.com/stylesheets/application.css" media="screen" rel="stylesheet" type="text/css" /> # # To do this, you can either setup 4 actual hosts, or you can use wildcard DNS to CNAME @@ -47,7 +47,7 @@ module ActionView # ActionController::Base.asset_host = Proc.new { |source| "http://assets#{rand(2) + 1}.example.com" } # image_tag("rails.png") # => <img src="http://assets2.example.com/images/rails.png" alt="Rails" /> - # stylesheet_include_tag("application") + # stylesheet_link_tag("application") # => <link href="http://assets1.example.com/stylesheets/application.css" media="screen" rel="stylesheet" type="text/css" /> # # The proc takes a <tt>source</tt> parameter (which is the path of the source asset) and an optional @@ -64,7 +64,7 @@ module ActionView # } # image_tag("rails.png") # => <img src="http://images.example.com/images/rails.png" alt="Rails" /> - # stylesheet_include_tag("application") + # stylesheet_link_tag("application") # => <link href="http://assets.example.com/stylesheets/application.css" media="screen" rel="stylesheet" type="text/css" /> # # The optional <tt>request</tt> parameter to the proc is useful in particular for serving assets from an |