diff --git a/laravel/html.php b/laravel/html.php index c9cb60a1..19f17699 100644 --- a/laravel/html.php +++ b/laravel/html.php @@ -98,12 +98,11 @@ public static function span($value, $attributes = array()) * @param string $title * @param array $attributes * @param bool $https - * @param bool $asset * @return string */ - public static function link($url, $title, $attributes = array(), $https = false, $asset = false) + public static function link($url, $title, $attributes = array(), $https = false) { - $url = static::entities(URL::to($url, $https, $asset)); + $url = static::entities(URL::to($url, $https)); return ''.static::entities($title).''; } @@ -134,7 +133,9 @@ public static function link_to_secure($url, $title, $attributes = array()) */ public static function link_to_asset($url, $title, $attributes = array(), $https = null) { - return static::link($url, $title, $attributes, $https, true); + $url = static::entities(URL::to_asset($url, $https)); + + return ''.static::entities($title).''; } /**