From 7d3773a06c280dcd6c6a20ef1ab0ce9e3e744226 Mon Sep 17 00:00:00 2001 From: Derek Allard Date: Wed, 4 Feb 2009 13:11:56 +0000 Subject: link_tag() not link() in example --- user_guide/helpers/html_helper.html | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'user_guide/helpers/html_helper.html') diff --git a/user_guide/helpers/html_helper.html b/user_guide/helpers/html_helper.html index 3b4ffb132..fd92f4dcb 100644 --- a/user_guide/helpers/html_helper.html +++ b/user_guide/helpers/html_helper.html @@ -109,7 +109,7 @@ echo link_tag('css/mystyles.css');
// <link href="http://site.com/favicon.ico" rel="shortcut icon" type="image/ico" />

- echo link('feed', 'alternate', 'application/rss+xml', 'My RSS Feed');
+ echo link_tag('feed', 'alternate', 'application/rss+xml', 'My RSS Feed');
// <link href="http://site.com/feed" rel="alternate" type="application/rss+xml" title="My RSS Feed" />

Additionally, an associative array can be passed to the link() function for complete control over all attributes and values.

-- cgit v1.2.3-24-g4f1b