From 9261cbbe3d32f14c9b290e026de18e62dd383ca6 Mon Sep 17 00:00:00 2001 From: Simon Erhardt Date: Fri, 4 Oct 2013 09:08:01 +0200 Subject: [PATCH] remove unneeded hardcoded route name from admin | Q | A | ------------- | --- | Bug fix? | no | New feature? | no | BC breaks? | no | Deprecations? | no | Tests pass? | yes | Fixed tickets | - | License | MIT | Doc PR | - These assignments are no longer needed. If we have them, an admin extending this class must overwrite the fields. --- Admin/StaticContentAdmin.php | 2 -- 1 file changed, 2 deletions(-) diff --git a/Admin/StaticContentAdmin.php b/Admin/StaticContentAdmin.php index 17cd328..9b632eb 100644 --- a/Admin/StaticContentAdmin.php +++ b/Admin/StaticContentAdmin.php @@ -20,8 +20,6 @@ class StaticContentAdmin extends Admin { - protected $baseRouteName = 'cmf_content_staticcontent'; - protected $baseRoutePattern = '/cmf/content/staticcontent'; protected $translationDomain = 'CmfContentBundle'; public function getNewInstance()