mangoweb-sylius / SyliusSortingPlugin

Sort products in taxons simply by drag & drop
8 stars 11 forks source link

plugin is losing user context #2

Closed mathieudureisseix closed 4 years ago

mathieudureisseix commented 4 years ago

Hello, thks for the plugin. When i activate the plugin and routes, i get an error on the _security.html.twig impossible to access user. I am on sylius 1.5.1 Best regards Mathieu

ondrej-kuhnel commented 4 years ago

Hi, you are probably outside of the admin firewall. Have you added a routing with the prefix admin?

mango_sylius_sorting_plugin:
    resource: "@MangoSyliusSortingPlugin/Resources/config/routing.yml"
    prefix: /admin
mathieudureisseix commented 4 years ago

Oh yes sorry, exactly that :) Thanks for the quick reply ! This plugin is perfect !