sylius_admin_admin_user:
    resource: |
        alias: sylius.admin_user
        section: admin
        path: users
        templates: "@SyliusAdmin\\shared\\crud"
        except: ['show']
        redirect: index
        grid: sylius_admin_admin_user
        form:
            type: Sylius\Bundle\AdminBundle\Form\Type\AdminUserType
        permission: true
    type: sylius.resource

sylius_admin_admin_user_remove_avatar:
    path: /users/{id}/remove-avatar
    methods: [PUT]
    defaults:
        _controller: sylius_admin.controller.remove_avatar
