Skip to content

Commit

Permalink
Add new recipe for sylius/paypal-plugin:1.7 (#1746)
Browse files Browse the repository at this point in the history
* [Sylius][PayPal] Add sylius_shop_override_routing to sylius_shop routing configuration

* [Sylius][PayPal] Add additional options to sylius_shop_override_paypal

* [Sylius][PayPal] Add new line
  • Loading branch information
Wojdylak authored Jan 27, 2025
1 parent c0a8636 commit a025b8d
Showing 1 changed file with 9 additions and 1 deletion.
10 changes: 9 additions & 1 deletion sylius/paypal-plugin/1.7/manifest.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,5 +4,13 @@
},
"copy-from-recipe": {
"config/": "%CONFIG_DIR%/"
}
},
"add-lines": [
{
"file": "config/routes/sylius_shop.yaml",
"position": "bottom",
"warn_if_missing": true,
"content": "sylius_shop_override_paypal:\n resource: \"@SyliusPayPalPlugin/Resources/config/sylius_shop_override_routing.yaml\"\n prefix: /{_locale}\n requirements:\n _locale: ^[A-Za-z]{2,4}(_([A-Za-z]{4}|[0-9]{3}))?(_([A-Za-z]{2}|[0-9]{3}))?$\n"
}
]
}

0 comments on commit a025b8d

Please sign in to comment.