Skip to content

Commit

Permalink
Including routing is still required with Flex comur#121
Browse files Browse the repository at this point in the history
  • Loading branch information
Ian Thomas committed Apr 13, 2020
1 parent 089d90f commit 4b7a485
Showing 1 changed file with 16 additions and 0 deletions.
16 changes: 16 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -115,6 +115,22 @@ return [
];
```

### Step 3: Create routing files

Two of the bundles provides routes, which must be enabled by creating these files:

```yaml
# config/routes/fos_js_routing.yaml
fos_js_routing:
resource: "@FOSJsRoutingBundle/Resources/config/routing/routing-sf4.xml"
```
```yaml
# config/routes/comur_image.yaml
comur_image:
resource: "@ComurImageBundle/Resources/config/routing.yml"
prefix: /
```
Applications that don't use Symfony Flex
----------------------------------------
Expand Down

0 comments on commit 4b7a485

Please sign in to comment.