URL::to_asset should use Request::is_secure to determine if asset link should use HTTPS.
This commit is contained in:
parent
44db0e72f9
commit
6e9bf0a0e3
|
@ -54,7 +54,7 @@ public static function to_secure($url = '')
|
||||||
*/
|
*/
|
||||||
public static function to_asset($url = '')
|
public static function to_asset($url = '')
|
||||||
{
|
{
|
||||||
return static::to($url, false, true);
|
return static::to($url, Request::is_secure(), true);
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
|
Loading…
Reference in New Issue