Skip to content

Commit e3e4c14

Browse files
use laravel's asset helper as opposed to url
1 parent 8e39330 commit e3e4c14

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/Admin.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -418,7 +418,7 @@ protected function fireBootedCallbacks()
418418

419419
public static function asset($asset)
420420
{
421-
return url('/vendor/open-admin/'.$asset);
421+
return admin_asset('/vendor/open-admin/'.$asset);
422422
}
423423

424424
public static function js_trans()

0 commit comments

Comments
 (0)