Generated URLs default to use the current protocol (http or https)
Signed-off-by: Phill Sparks <phill@bulbstudios.com>
This commit is contained in:
@@ -323,7 +323,7 @@ function head($array)
|
||||
* @param bool $https
|
||||
* @return string
|
||||
*/
|
||||
function url($url = '', $https = false)
|
||||
function url($url = '', $https = null)
|
||||
{
|
||||
return Laravel\URL::to($url, $https);
|
||||
}
|
||||
@@ -335,7 +335,7 @@ function url($url = '', $https = false)
|
||||
* @param bool $https
|
||||
* @return string
|
||||
*/
|
||||
function asset($url, $https = false)
|
||||
function asset($url, $https = null)
|
||||
{
|
||||
return Laravel\URL::to_asset($url, $https);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user