prestaconcept / PrestaImageBundle

Allow to crop local and remote image before uploading them through a classic form.
MIT License
23 stars 19 forks source link

Route does not exists #62

Closed gbrle closed 4 years ago

gbrle commented 4 years ago

Hello,

I have a routing problem. Error :

An exception has been thrown during the rendering of a template ("Unable to generate a URL for the named route "presta_image_url_to_base64" as such route does not exist.").

routing.yaml :

framework:
    router:
        utf8: true
presta_image:
    resource: '@PrestaImageBundle/Resources/config/ro

Ths :)

yann-eugone commented 4 years ago

Hello ! What is this routing.yaml file ? Where is it located ? Is it a routing or a service file ?

gbrle commented 4 years ago

routing.yaml is in "packages" folder

gbrle commented 4 years ago

Ohhhhh, i'm sorry !! Its work now.

I have the wrong file, the correct one is "routes.yaml"

Résolved :)

yann-eugone commented 4 years ago

packages/* is for bundle / services configuration, routes/* is for routing :)