FEATURE: add helper function asset_path()
This commit is contained in:
@@ -24,3 +24,7 @@ function e($value)
|
||||
function setting($key, $default = null) {
|
||||
return \App\Helpers\Settings::get($key, $default);
|
||||
}
|
||||
|
||||
function asset_path($path) {
|
||||
return env('SITE_URL').'/assets/'.$path;
|
||||
}
|
||||
Reference in New Issue
Block a user