From 0dd3b4630fea4bd4d4010b7096c9ee79d34c4501 Mon Sep 17 00:00:00 2001 From: Josiah Ivey Date: Tue, 4 May 2010 09:52:31 -0500 Subject: image_tag should be audio_tag, and change typo 'image' to 'audio file' --- railties/guides/source/layouts_and_rendering.textile | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'railties/guides') 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" %> -You can supply a path to the image if you like: +You can supply a path to the audio file if you like: -<%= image_tag "music/first_song.mp3" %> +<%= audio_tag "music/first_song.mp3" %> You can also supply a hash of additional options, such as +:id+, +:class+ etc. -- cgit v1.2.3