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