Skip to content

Commit

Permalink
Readme
Browse files Browse the repository at this point in the history
  • Loading branch information
songecko committed Nov 28, 2017
1 parent 01dfe1f commit 0393014
Showing 1 changed file with 25 additions and 2 deletions.
27 changes: 25 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,29 @@

2. Add the plugin to the AppKernel but adding it before SyliusResourceBundle

3. Include the config.yml:
3. Import the config.yml:

- { resource: "@OdiseoSyliusVendorPlugin/Resources/config/app/config.yml" }
```
- { resource: "@OdiseoSyliusVendorPlugin/Resources/config/app/config.yml" }
```

4. Import the vendor grid:

```
- { resource: "@OdiseoSyliusVendorPlugin/Resources/config/grids/vendor.yml" }
```

5. Add the admin routes:

```
odiseo_sylius_admin_vendor:
resource: "@OdiseoSyliusVendorPlugin/Resources/config/routing/admin_vendor.yml"
```

6. Add the shop routes:

```
odiseo_sylius_shop_vendor:
resource: "@OdiseoSyliusVendorPlugin/Resources/config/routing/shop_vendor.yml"
prefix: /vendors
```

0 comments on commit 0393014

Please sign in to comment.