Skip to content

Commit

Permalink
Update add-custom-controller.md
Browse files Browse the repository at this point in the history
Changed type for routes.xml as mentioned in shopware/shopware#3566
  • Loading branch information
thijsMemoICT authored Feb 23, 2024
1 parent 84de55f commit 1919f5e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion guides/plugins/plugins/storefront/add-custom-controller.md
Original file line number Diff line number Diff line change
Expand Up @@ -142,7 +142,7 @@ Once we‘ve registered our new controller, we have to tell Shopware how we want
xsi:schemaLocation="http://symfony.com/schema/routing
https://symfony.com/schema/routing/routing-1.0.xsd">

<import resource="../../Storefront/Controller/**/*Controller.php" type="annotation" />
<import resource="../../Storefront/Controller/**/*Controller.php" type="attribute" />
</routes>
```

Expand Down

0 comments on commit 1919f5e

Please sign in to comment.