styles updates

This commit is contained in:
Nabeel Shahzad
2017-12-24 12:10:51 -06:00
parent 960cbc7cd1
commit 38b225f37e
11 changed files with 28521 additions and 1918 deletions

View File

@@ -25,12 +25,10 @@ if (!function_exists('public_asset'))
function public_asset($path, $parameters = [], $secure = null)
{
$publicBaseUrl = app()->publicUrlPath();
if($path[0] !== '/') {
$path = '/'.$path;
}
$path = $publicBaseUrl . $path;
$path = str_replace('//', '/', $path);
return url($path, $parameters, $secure);
}
}