Skip to content

Commit

Permalink
Add plugins configuration changes (#323)
Browse files Browse the repository at this point in the history
  • Loading branch information
GSadee authored Dec 12, 2024
2 parents d7d5bab + 79561fb commit 53bb7f1
Show file tree
Hide file tree
Showing 4 changed files with 5 additions and 5 deletions.
2 changes: 1 addition & 1 deletion config/routes.yaml
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
sylius_paypal_webhook:
resource: "@SyliusPayPalPlugin/config/webhook_routing.yaml"
resource: "@SyliusPayPalPlugin/config/routes/webhook.yaml"
2 changes: 1 addition & 1 deletion config/routes/sylius_admin.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -3,5 +3,5 @@ sylius_admin:
prefix: /admin

sylius_paypal_admin:
resource: "@SyliusPayPalPlugin/config/admin_routing.yml"
resource: "@SyliusPayPalPlugin/config/routes/admin.yaml"
prefix: '/%sylius_admin.path_name%'
4 changes: 2 additions & 2 deletions config/routes/sylius_invoicing.yaml
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
sylius_invoicing_plugin_admin:
resource: "@SyliusInvoicingPlugin/config/admin_routes.yaml"
resource: "@SyliusInvoicingPlugin/config/routes/admin.yaml"
prefix: /admin

sylius_invoicing_plugin_shop:
resource: "@SyliusInvoicingPlugin/config/shop_routes.yaml"
resource: "@SyliusInvoicingPlugin/config/routes/shop.yaml"
prefix: /{_locale}
requirements:
_locale: ^[a-z]{2}(?:_[A-Z]{2})?$
2 changes: 1 addition & 1 deletion config/routes/sylius_shop.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ sylius_payment_notify:
resource: "@SyliusPaymentBundle/Resources/config/routing/integrations/sylius.yaml"

sylius_paypal_shop:
resource: "@SyliusPayPalPlugin/config/shop_routing.yaml"
resource: "@SyliusPayPalPlugin/config/routes/shop.yaml"
prefix: /{_locale}
requirements:
_locale: ^[A-Za-z]{2,4}(_([A-Za-z]{4}|[0-9]{3}))?(_([A-Za-z]{2}|[0-9]{3}))?$

0 comments on commit 53bb7f1

Please sign in to comment.