admin_profiles_index:
    path: /
    methods: GET
    defaults:
        _controller: 'PrestaShopBundle:Admin\Configure\AdvancedParameters\Profile:index'
        _legacy_controller: AdminProfiles
        _legacy_link: AdminProfiles

admin_profiles_search:
    path: /
    methods: POST
    defaults:
        _controller: 'PrestaShopBundle:Admin\Configure\AdvancedParameters\Profile:search'
        _legacy_controller: AdminProfiles
        _legacy_link: AdminProfiles:submitFilterprofile

admin_profiles_create:
    path: /new
    methods: [GET, POST]
    defaults:
        _controller: 'PrestaShopBundle:Admin\Configure\AdvancedParameters\Profile:create'
        _legacy_controller: AdminProfiles
        _legacy_link: AdminProfiles:addprofile

admin_profiles_edit:
    path: /{profileId}/edit
    methods: [GET, POST]
    defaults:
        _controller: 'PrestaShopBundle:Admin\Configure\AdvancedParameters\Profile:edit'
        _legacy_controller: AdminProfiles
        _legacy_link: AdminProfiles:updateprofile
        _legacy_parameters:
            id_profile: profileId
    requirements:
        profileId: \d+

admin_profiles_delete:
    path: /{profileId}/delete
    methods: [POST]
    defaults:
        _controller: 'PrestaShopBundle:Admin\Configure\AdvancedParameters\Profile:delete'
        _legacy_controller: AdminProfiles
        _legacy_link: AdminProfiles:deleteprofile
        _legacy_parameters:
            id_profile: profileId
    requirements:
        profileId: \d+

admin_profiles_bulk_delete:
    path: /delete/bulk
    methods: [POST]
    defaults:
        _controller: 'PrestaShopBundle:Admin\Configure\AdvancedParameters\Profile:bulkDelete'
        _legacy_controller: AdminProfiles
        _legacy_link: AdminProfiles:submitBulkdeleteprofile
