aboutsummaryrefslogtreecommitdiffstats
path: root/railties/guides
diff options
context:
space:
mode:
authorJosiah Ivey <josiah.ivey@gmail.com>2010-05-04 09:52:31 -0500
committerXavier Noria <fxn@hashref.com>2010-05-04 19:31:41 +0200
commit0dd3b4630fea4bd4d4010b7096c9ee79d34c4501 (patch)
treea36d986cbbb73c94d217cbe86c9af7ef97a89567 /railties/guides
parentd5e3c494781abe0b16b4e40f597ff64f8ad6512f (diff)
downloadrails-0dd3b4630fea4bd4d4010b7096c9ee79d34c4501.tar.gz
rails-0dd3b4630fea4bd4d4010b7096c9ee79d34c4501.tar.bz2
rails-0dd3b4630fea4bd4d4010b7096c9ee79d34c4501.zip
image_tag should be audio_tag, and change typo 'image' to 'audio file'
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 +&lt;audio&gt;+ 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.