aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authormica eked <micaeked@gmail.com>2010-05-04 02:46:21 -0700
committermica eked <micaeked@gmail.com>2010-05-04 02:46:21 -0700
commit1357b659bbcb0fbc7c559da536af76d164f147b5 (patch)
tree0ab0bca2c1ac3850511139a0ea8274fb29205bdd
parent8770b8c955c599282fd3257e2f1a4deaed9230e8 (diff)
downloadrails-1357b659bbcb0fbc7c559da536af76d164f147b5.tar.gz
rails-1357b659bbcb0fbc7c559da536af76d164f147b5.tar.bz2
rails-1357b659bbcb0fbc7c559da536af76d164f147b5.zip
typo "<image />" -> "<img />"
-rw-r--r--railties/guides/source/layouts_and_rendering.textile2
1 files changed, 1 insertions, 1 deletions
diff --git a/railties/guides/source/layouts_and_rendering.textile b/railties/guides/source/layouts_and_rendering.textile
index f6b6a1a7cc..11d7ed0a3c 100644
--- a/railties/guides/source/layouts_and_rendering.textile
+++ b/railties/guides/source/layouts_and_rendering.textile
@@ -806,7 +806,7 @@ You can even use dynamic paths such as +cache/#{current_site}/main/display+.
h5. Linking to Images with +image_tag+
-The +image_tag+ helper builds an HTML +&lt;image /&gt;+ tag to the specified file. By default, files are loaded from +public/images+, note, you must specify the extension, previous versions of Rails would allow you to just call the image name and would append +.png+ if no extension was given, Rails 3.0 does not.
+The +image_tag+ helper builds an HTML +&lt;img /&gt;+ tag to the specified file. By default, files are loaded from +public/images+, note, you must specify the extension, previous versions of Rails would allow you to just call the image name and would append +.png+ if no extension was given, Rails 3.0 does not.
<erb>
<%= image_tag "header.png" %>