Skip to content

Commit

Permalink
Override eZ Platform Admin UI routes conflicting with eZ Publish Legacy
Browse files Browse the repository at this point in the history
  • Loading branch information
emodric committed Dec 22, 2017
1 parent a7159f4 commit b52353c
Show file tree
Hide file tree
Showing 2 changed files with 22 additions and 0 deletions.
4 changes: 4 additions & 0 deletions CHANGELOG.md
@@ -1,5 +1,9 @@
# Netgen Admin UI Bundle changelog

## 2.1.2 (22.12.2017)

* Override eZ Platform Admin UI routes conflicting with eZ Publish Legacy

## 2.1.1 (21.12.2017)

* Fix a crash when Netgen Tags Bundle is installed but not activated
Expand Down
18 changes: 18 additions & 0 deletions Resources/config/routing.yml
Expand Up @@ -9,3 +9,21 @@ _ezpublishPreviewContentDefaultSa:
defaults:
_controller: "ezpublish_legacy.controller:indexAction"
methods: [GET]

# Overrides for eZ Platform Admin UI routes conflicting with eZ Publish Legacy

ezplatform.section.list:
path: /sections/list
defaults:
_controller: 'EzPlatformAdminUiBundle:Section:list'

ezplatform.section.view:
path: /sections/view/{sectionId}
defaults:
_controller: 'EzPlatformAdminUiBundle:Section:view'

ezplatform.role.list:
path: /roles/list
methods: ['GET']
defaults:
_controller: 'EzPlatformAdminUiBundle:Role:list'

0 comments on commit b52353c

Please sign in to comment.