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: Dmitri Perunov <[email protected]>
  • Loading branch information
loic425 and diimpp authored Dec 9, 2024
1 parent 50a7d7a commit b7d8a83
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 @@ -81,7 +81,7 @@ use Sylius\Resource\Model\ResourceInterface;
#[AsResource(
section: 'admin', // This will influence the route name
routePrefix: '/admin',
templatesDir: '@SyliusAdminUi/crud', // This directory contains the generic template for your list
templatesDir: '@SyliusAdminUi/crud', // This directory contains the generic templates
formType: BookType::class, // The form type you have generated in previous step
operations: [
// ...
Expand Down

0 comments on commit b7d8a83

Please sign in to comment.