From 92a6d5578fc7bccae3014164f58edcd3cfb8e73b Mon Sep 17 00:00:00 2001 From: Davide Bellini Date: Wed, 27 Mar 2013 10:03:19 +0100 Subject: [PATCH] Fix call in HtmlBuilder::linkAsset() --- HtmlBuilder.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/HtmlBuilder.php b/HtmlBuilder.php index ab4f4aa..ff22011 100644 --- a/HtmlBuilder.php +++ b/HtmlBuilder.php @@ -88,11 +88,11 @@ class HtmlBuilder { { $url = $this->url->asset($url, $secure); - return $this->to($url, $title ?: $url, $attributes, $secure); + return $this->link($url, $title ?: $url, $attributes, $secure); } /** - * Generate a HTML link to an asset. + * Generate a HTTPS HTML link to an asset. * * @param string $url * @param string $title