Skip to content Skip to sidebar Skip to footer

(symfony 4) Fos Js Routing Bundle - The Route ------- Does Not Exist.

It seems like the routing yml file isn't being picked up by the Fos Js Routing bundle. Here's what I have done so far: Setup: $./composer.phar require friendsofsymfony/jsroutin

Solution 1:

You are not exposing your route like this:

# app/config/routing.yml
my_route_to_expose:
    pattern: /foo/{id}/bar
    defaults: { _controller: AppBundle:Default:index }
    options:
        expose: true

Post a Comment for "(symfony 4) Fos Js Routing Bundle - The Route ------- Does Not Exist."