Skip to content

Commit

Permalink
Correct sylius/refund-plugin:2.0 recipe
Browse files Browse the repository at this point in the history
  • Loading branch information
Rafikooo committed Dec 11, 2024
1 parent 1d9cdad commit b38d6c2
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 10 deletions.
11 changes: 2 additions & 9 deletions sylius/refund-plugin/2.0/config/routes/sylius_refund.yaml
Original file line number Diff line number Diff line change
@@ -1,9 +1,2 @@
sylius_refund_admin:
resource: "@SyliusRefundPlugin/config/admin_routes.yaml"
prefix: '/%sylius_admin.path_name%'

sylius_refund_shop:
resource: "@SyliusRefundPlugin/config/shop_routes.yaml"
prefix: /{_locale}
requirements:
_locale: ^[a-z]{2}(?:_[A-Z]{2})?$
sylius_refund:
resource: "@SyliusRefundPlugin/config/routes.yaml"
10 changes: 9 additions & 1 deletion sylius/refund-plugin/2.0/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": "assets/admin/entrypoint.js",
"content": "import '../../vendor/sylius/refund-plugin/assets/entrypoint';",
"position": "bottom",
"warn_if_missing": true
}
]
}

0 comments on commit b38d6c2

Please sign in to comment.