Skip to content

Commit

Permalink
Merge pull request #20 from martinhipp/fix-harcoded-menu-icon
Browse files Browse the repository at this point in the history
Update $menu_icon to use the ModuleResourceLoader helper syntax
  • Loading branch information
Rhym authored Feb 25, 2020
2 parents 0bcc6c1 + 34a5868 commit a9f192f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/SingleObjectAdmin.php
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@
class SingleObjectAdmin extends LeftAndMain implements PermissionProvider
{
private static $url_rule = '/$Action/$ID/$OtherID';
private static $menu_icon = 'resources/vendor/littlegiant/silverstripe-singleobjectadmin/dist/images/singleobjectadmin.png';
private static $menu_icon = 'littlegiant/silverstripe-singleobjectadmin:dist/images/singleobjectadmin.png';

private static $allowed_actions = [
'EditForm'
Expand Down

0 comments on commit a9f192f

Please sign in to comment.