Skip to content

Commit

Permalink
image_tag should be audio_tag
Browse files Browse the repository at this point in the history
  • Loading branch information
jivey committed May 4, 2010
1 parent 3190fcb commit 015114c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion railties/guides/source/layouts_and_rendering.textile
Expand Up @@ -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.
Expand Down

0 comments on commit 015114c

Please sign in to comment.