Skip to content

Commit

Permalink
API Update code to reflect changes in silverstripe/admin
Browse files Browse the repository at this point in the history
  • Loading branch information
GuySartorelli committed Oct 25, 2024
1 parent 539a527 commit ca96658
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion code/Controller/AssetAdmin.php
Original file line number Diff line number Diff line change
Expand Up @@ -62,7 +62,7 @@ class AssetAdmin extends AssetAdminOpen implements PermissionProvider

private static $menu_icon_class = 'font-icon-image';

private static $tree_class = Folder::class;
private static $model_class = Folder::class;

private static $url_handlers = [
// Legacy redirect for SS3-style detail view
Expand Down
2 changes: 1 addition & 1 deletion code/Controller/AssetAdminOpen.php
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ class AssetAdminOpen extends LeftAndMain

private static string $menu_icon_class = 'font-icon-image';

private static string $tree_class = Folder::class;
private static string $model_class = Folder::class;

private static array $url_handlers = [
'GET api/read/$ID!' => 'apiRead',
Expand Down

0 comments on commit ca96658

Please sign in to comment.