Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Move admin as a prefix out of the plugin #117

Open
m0sviatoslav opened this issue Jan 31, 2019 · 1 comment
Open

Move admin as a prefix out of the plugin #117

m0sviatoslav opened this issue Jan 31, 2019 · 1 comment

Comments

@m0sviatoslav
Copy link

Move route name admin as a prefix out of the plugin.

The way it's done in AdminBundle

sylius_admin:
    resource: "@SyliusAdminBundle/Resources/config/routing.yml"
    prefix: /admin

The way it's done in the plugin
now:

sylius_admin_order_creation:
    resource: "@SyliusAdminOrderCreationPlugin/Resources/config/app/routing.yml"

change to:

sylius_admin_order_creation:
    resource: "@SyliusAdminOrderCreationPlugin/Resources/config/app/routing.yml"
    prefix: /admin

and remove admin from SyliusAdminOrderCreationPlugin/Resources/config/app/routing.yml

if it's okay I can commit changes

@m0sviatoslav
Copy link
Author

#118

Prometee pushed a commit to Prometee/AdminOrderCreationPlugin that referenced this issue May 14, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant