Skip to content

Commit

Permalink
Update docs/cookbook/admin_panel/index.md
Browse files Browse the repository at this point in the history
Co-authored-by: cdivry <[email protected]>
  • Loading branch information
loic425 and cdivry authored Nov 28, 2024
1 parent e296d39 commit a10c5d9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion docs/cookbook/admin_panel/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ use Sylius\Resource\Model\ResourceInterface;
#[AsResource(
section: 'admin', // This will influence the route name
routePrefix: '/admin',
templatesDir: '@SyliusBootstrapAdminUi/crud', // This directory contains the generic template for your list
templatesDir: '@SyliusAdminUi/crud', // This directory contains the generic template for your list
operations: [
new Index( // This operation will add your "index" operation for the book list
grid: BookGrid::class, // Use the grid class you have generated above
Expand Down

0 comments on commit a10c5d9

Please sign in to comment.