mirror of
https://github.com/laravel/laravel.git
synced 2025-02-20 11:53:14 +08:00
fixed bug in html link methods.
This commit is contained in:
parent
bf44ce81d7
commit
4669911d61
@ -58,7 +58,7 @@ class HTML {
|
||||
* @param array $attributes
|
||||
* @return string
|
||||
*/
|
||||
public static function link_to_secure($url, $title, $attributes)
|
||||
public static function link_to_secure($url, $title, $attributes = array())
|
||||
{
|
||||
return static::link($url, $title, $attributes, true);
|
||||
}
|
||||
@ -71,7 +71,7 @@ class HTML {
|
||||
* @param array $attributes
|
||||
* @return string
|
||||
*/
|
||||
public static function link_to_asset($url, $title, $attributes)
|
||||
public static function link_to_asset($url, $title, $attributes = array())
|
||||
{
|
||||
return static::link($url, $title, $attributes, false, true);
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user