Skip to content

Commit

Permalink
Merge pull request #1 from afaulkner-kfs/asset-url-fix
Browse files Browse the repository at this point in the history
use laravel's asset helper as opposed to url
  • Loading branch information
afaulkner-kfs authored Aug 22, 2023
2 parents 8e39330 + e3e4c14 commit 107d35d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Admin.php
Original file line number Diff line number Diff line change
Expand Up @@ -418,7 +418,7 @@ protected function fireBootedCallbacks()

public static function asset($asset)
{
return url('/vendor/open-admin/'.$asset);
return admin_asset('/vendor/open-admin/'.$asset);
}

public static function js_trans()
Expand Down

0 comments on commit 107d35d

Please sign in to comment.