feat(main): Groups and blocks

This commit is contained in:
2026-08-10 16:13:15 +02:00
parent 6aff506cd6
commit 635c13a0ed
39 changed files with 1188 additions and 237 deletions
+54 -13
View File
@@ -2,31 +2,72 @@ customhtml_index:
path: ws_customhtml
methods: [GET]
defaults:
_controller: 'Websmid\CustomHtml\Controller\CustomHtmlController::indexAction'
_controller: 'Websmid\CustomHtml\Controller\CustomHtmlGroupController::indexAction'
_legacy_controller: AdminCustomHtmlParent
_legacy_link: AdminCustomHtmlParent:index
customhtmlgroup_index:
path: ws_customhtml/group
methods: [GET]
defaults:
_controller: 'Websmid\CustomHtml\Controller\CustomHtmlGroupController::indexAction'
_legacy_controller: AdminCustomHtmlOverview
_legacy_link: AdminCustomHtmlOverview:index
customhtml_search:
path: ws_customhtml
customhtmlgroup_search:
path: ws_customhtml/group
methods: [POST]
defaults:
_controller: 'Websmid\CustomHtml\Controller\CustomHtmlController::searchAction'
_controller: 'Websmid\CustomHtml\Controller\CustomHtmlGroupController::searchAction'
_legacy_controller: AdminCustomHtmlOverview
customhtml_create:
path: ws_customhtml/create
customhtmlgroup_create:
path: ws_customhtml/group/create
methods: [POST, GET]
defaults:
_controller: 'Websmid\CustomHtml\Controller\CustomHtmlController::createAction'
_controller: 'Websmid\CustomHtml\Controller\CustomHtmlGroupController::createAction'
customhtml_edit:
path: ws_customhtml/edit/{idCustomHtml}
customhtmlgroup_edit:
path: ws_customhtml/group/edit/{idCustomHtmlGroup}
methods: [POST, GET]
defaults:
_controller: 'Websmid\CustomHtml\Controller\CustomHtmlController::editAction'
_controller: 'Websmid\CustomHtml\Controller\CustomHtmlGroupController::editAction'
customhtml_delete:
path: ws_customhtml/delete/{idCustomHtml}
customhtmlgroup_delete:
path: ws_customhtml/group/delete/{idCustomHtmlGroup}
methods: [DELETE, GET, POST]
defaults:
_controller: 'Websmid\CustomHtml\Controller\CustomHtmlController::deleteAction'
_controller: 'Websmid\CustomHtml\Controller\CustomHtmlGroupController::deleteAction'
customhtmlblock_index:
path: ws_customhtml/block
methods: [GET]
defaults:
_controller: 'Websmid\CustomHtml\Controller\CustomHtmlBlockController::indexAction'
_legacy_controller: AdminCustomHtmlBlockOverview
_legacy_link: AdminCustomHtmlBlockOverview:index
customhtmlblock_search:
path: ws_customhtml/block
methods: [POST]
defaults:
_controller: 'Websmid\CustomHtml\Controller\CustomHtmlBlockController::searchAction'
_legacy_controller: AdminCustomHtmlBlockOverview
customhtmlblock_create:
path: ws_customhtml/block/create
methods: [POST, GET]
defaults:
_controller: 'Websmid\CustomHtml\Controller\CustomHtmlBlockController::createAction'
customhtmlblock_edit:
path: ws_customhtml/block/edit/{idCustomHtmlBlock}
methods: [POST, GET]
defaults:
_controller: 'Websmid\CustomHtml\Controller\CustomHtmlBlockController::editAction'
customhtmlblock_delete:
path: ws_customhtml/block/delete/{idCustomHtmlBlock}
methods: [DELETE, GET, POST]
defaults:
_controller: 'Websmid\CustomHtml\Controller\CustomHtmlBlockController::deleteAction'