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."