Skip to content

Commit

Permalink
Fix legacy installation
Browse files Browse the repository at this point in the history
  • Loading branch information
GSadee committed Dec 3, 2024
1 parent 3a3a0a6 commit 275f81e
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 275f81e

Please sign in to comment.