typo "<image />" -> "<img />"
This commit is contained in:
parent
8770b8c955
commit
1357b659bb
|
@ -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 +<image />+ 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 +<img />+ 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" %>
|
Loading…
Reference in New Issue