Skip to content

Commit b52353c

Browse files
committed
Override eZ Platform Admin UI routes conflicting with eZ Publish Legacy
1 parent a7159f4 commit b52353c

File tree

2 files changed

+22
-0
lines changed

2 files changed

+22
-0
lines changed

CHANGELOG.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,9 @@
11
# Netgen Admin UI Bundle changelog
22

3+
## 2.1.2 (22.12.2017)
4+
5+
* Override eZ Platform Admin UI routes conflicting with eZ Publish Legacy
6+
37
## 2.1.1 (21.12.2017)
48

59
* Fix a crash when Netgen Tags Bundle is installed but not activated

Resources/config/routing.yml

Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,3 +9,21 @@ _ezpublishPreviewContentDefaultSa:
99
defaults:
1010
_controller: "ezpublish_legacy.controller:indexAction"
1111
methods: [GET]
12+
13+
# Overrides for eZ Platform Admin UI routes conflicting with eZ Publish Legacy
14+
15+
ezplatform.section.list:
16+
path: /sections/list
17+
defaults:
18+
_controller: 'EzPlatformAdminUiBundle:Section:list'
19+
20+
ezplatform.section.view:
21+
path: /sections/view/{sectionId}
22+
defaults:
23+
_controller: 'EzPlatformAdminUiBundle:Section:view'
24+
25+
ezplatform.role.list:
26+
path: /roles/list
27+
methods: ['GET']
28+
defaults:
29+
_controller: 'EzPlatformAdminUiBundle:Role:list'

0 commit comments

Comments
 (0)