sylius_admin_static_content:
    resource: |
        alias: sylius.static_content
        section: admin
        templates: SyliusAdminBundle:Crud
        except: ['show', 'update', 'delete']
        redirect: index
        grid: sylius_admin_static_content
        permission: true
        vars:
            all:
                templates:
                    form: SyliusAdminBundle:StaticContent:_form.html.twig

    type: sylius.resource

sylius_admin_static_content_update:
    path: /static-contents/{id}/edit
    methods: [GET, PUT]
    defaults:
        _controller: sylius.controller.static_content:updateAction
        _sylius:
            section: admin
            permission: true
            template: SyliusAdminBundle:Crud:update.html.twig
            vars:
                templates:
                    form: SyliusAdminBundle:StaticContent:_form.html.twig
    requirements:
        id: ".+"

sylius_admin_static_content_delete:
    path: /static-contents/{id}
    methods: [DELETE]
    defaults:
        _controller: sylius.controller.static_content:deleteAction
        _sylius:
            permission: true
    requirements:
        id: ".+"

sylius_admin_static_content:
    resource: |
        alias: sylius.static_content
        section: admin
        templates: SyliusAdminBundle:Crud
        except: ['show', 'update', 'delete']
        redirect: index
        grid: sylius_admin_static_content
        permission: true
        vars:
            all:
                templates:
                    form: SyliusAdminBundle:StaticContent:_form.html.twig

    type: sylius.resource

sylius_admin_static_content_update:
    path: /static-contents/{id}/edit
    methods: [GET, PUT]
    defaults:
        _controller: sylius.controller.static_content:updateAction
        _sylius:
            section: admin
            permission: true
            template: SyliusAdminBundle:Crud:update.html.twig
            vars:
                templates:
                    form: SyliusAdminBundle:StaticContent:_form.html.twig
    requirements:
        id: ".+"

sylius_admin_static_content_delete:
    path: /static-contents/{id}
    methods: [DELETE]
    defaults:
        _controller: sylius.controller.static_content:deleteAction
        _sylius:
            section: admin
            permission: true
    requirements:
        id: ".+"

Add ability to delete static contents
[Admin] Add ability to delete static contents
