aboutsummaryrefslogtreecommitdiffstats
path: root/railties/guides/source/layouts_and_rendering.textile
diff options
context:
space:
mode:
authorJosiah Ivey <josiah.ivey@gmail.com>2010-05-04 09:52:31 -0500
committerJosiah Ivey <josiah.ivey@gmail.com>2010-05-04 09:52:31 -0500
commit015114cbbbd29935a901640070957ddca5e00bde (patch)
tree67a0756b089bccdb0c256e5e3f759386d078530b /railties/guides/source/layouts_and_rendering.textile
parent3190fcb5216851d64f709ab6cf3fe468558f1020 (diff)
downloadrails-015114cbbbd29935a901640070957ddca5e00bde.tar.gz
rails-015114cbbbd29935a901640070957ddca5e00bde.tar.bz2
rails-015114cbbbd29935a901640070957ddca5e00bde.zip
image_tag should be audio_tag
Diffstat (limited to 'railties/guides/source/layouts_and_rendering.textile')
-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 7be369453e..e1adbe5bdc 100644
--- a/railties/guides/source/layouts_and_rendering.textile
+++ b/railties/guides/source/layouts_and_rendering.textile
@@ -898,7 +898,7 @@ The +audio_tag+ helper builds an HTML 5 +&lt;audio&gt;+ tag to the specified fil
You can supply a path to the image if you like:
<erb>
-<%= image_tag "music/first_song.mp3" %>
+<%= audio_tag "music/first_song.mp3" %>
</erb>
You can also supply a hash of additional options, such as +:id+, +:class+ etc.