Skip to content
This repository was archived by the owner on Oct 9, 2025. It is now read-only.
This repository was archived by the owner on Oct 9, 2025. It is now read-only.

Move admin as a prefix out of the plugin #117

@m0sviatoslav

Description

@m0sviatoslav

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions