Skip to content

Commit

Permalink
Merge pull request #353 from GSadee/legacy-installation-fix
Browse files Browse the repository at this point in the history
Fix legacy installation
  • Loading branch information
Wojdylak authored Dec 3, 2024
2 parents 3a3a0a6 + 275f81e commit 6ed839c
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 deletions.
2 changes: 1 addition & 1 deletion UPGRADE.md
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@
+ - { resource: '@SyliusInvoicingPlugin/config/config.yaml' }
```

And the routes configuration paths:
The routes configuration paths:
```diff
sylius_invoicing_plugin_admin:
- resource: "@SyliusInvoicingPlugin/Resources/config/app/routing/admin_invoicing.yml"
Expand Down
8 changes: 4 additions & 4 deletions docs/legacy_installation.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,13 +5,13 @@
```bash
composer require sylius/invoicing-plugin
```
1. Add plugin class to your `AppKernel`:

1. Add plugin class and other required bundles to your `config/bundles.php`:

```php
$bundles = [
new \Knp\Bundle\SnappyBundle\KnpSnappyBundle(),
new \Sylius\InvoicingPlugin\SyliusInvoicingPlugin(),
Knp\Bundle\SnappyBundle\KnpSnappyBundle::class => ['all' => true],
Sylius\InvoicingPlugin\SyliusInvoicingPlugin::class => ['all' => true],
];
```

Expand Down

0 comments on commit 6ed839c

Please sign in to comment.