aboutsummaryrefslogtreecommitdiffstats
path: root/railties/guides
diff options
context:
space:
mode:
Diffstat (limited to 'railties/guides')
-rw-r--r--railties/guides/source/layouts_and_rendering.textile4
1 files changed, 2 insertions, 2 deletions
diff --git a/railties/guides/source/layouts_and_rendering.textile b/railties/guides/source/layouts_and_rendering.textile
index 7be369453e..a874fa0ca7 100644
--- a/railties/guides/source/layouts_and_rendering.textile
+++ b/railties/guides/source/layouts_and_rendering.textile
@@ -895,10 +895,10 @@ The +audio_tag+ helper builds an HTML 5 +<audio>+ tag to the specified fil
<%= audio_tag "music.mp3" %>
</erb>
-You can supply a path to the image if you like:
+You can supply a path to the audio file 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.