Skip to content

Commit b7f8fb5

Browse files
committed
removed AllNotificationsController, moved the "forward" to routing
1 parent 7702d93 commit b7f8fb5

File tree

3 files changed

+3
-35
lines changed

3 files changed

+3
-35
lines changed

src/bundle/Controller/AllNotificationsController.php

Lines changed: 0 additions & 28 deletions
This file was deleted.

src/bundle/Resources/config/routing.yaml

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -915,8 +915,10 @@ ibexa.notifications.render.page:
915915
ibexa.notifications.render.all:
916916
path: /notifications/render/all/{page}
917917
defaults:
918-
_controller: 'Ibexa\Bundle\AdminUi\Controller\AllNotificationsController::renderAllNotificationsPageAction'
918+
_controller: 'Ibexa\Bundle\AdminUi\Controller\NotificationController::renderNotificationsPageAction'
919919
page: 1
920+
template: '@ibexadesign/account/notifications/list_all.html.twig'
921+
render_all: true
920922
methods: [ GET, POST ]
921923
requirements:
922924
page: '\d+'

src/bundle/Resources/config/services/controllers.yaml

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -104,12 +104,6 @@ services:
104104
tags:
105105
- controller.service_arguments
106106

107-
Ibexa\Bundle\AdminUi\Controller\AllNotificationsController:
108-
parent: Ibexa\Contracts\AdminUi\Controller\Controller
109-
autowire: true
110-
tags:
111-
- controller.service_arguments
112-
113107
Ibexa\Bundle\AdminUi\Controller\ObjectStateController:
114108
parent: Ibexa\Contracts\AdminUi\Controller\Controller
115109
autowire: true

0 commit comments

Comments
 (0)