Commit 6e9bf0a0 authored by Taylor Otwell's avatar Taylor Otwell

URL::to_asset should use Request::is_secure to determine if asset link should use HTTPS.

parent 44db0e72
...@@ -54,7 +54,7 @@ class URL { ...@@ -54,7 +54,7 @@ class 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);
} }
/** /**
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment