Permalink
Browse files

image_tag should be audio_tag

  • Loading branch information...
1 parent 3190fcb commit 015114cbbbd29935a901640070957ddca5e00bde @josiahivey josiahivey committed May 4, 2010
Showing with 1 addition and 1 deletion.
  1. +1 −1 railties/guides/source/layouts_and_rendering.textile
@@ -898,7 +898,7 @@ The +audio_tag+ helper builds an HTML 5 +<audio>+ 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.

0 comments on commit 015114c

Please sign in to comment.