Skip to content

Commit e1d2026

Browse files
committed
Inherit from abstract controller
1 parent 4fa36ad commit e1d2026

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/ClassificationTreeBundle/Controller/DefaultController.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77
namespace Divante\ClassificationTreeBundle\Controller;
88

99
use Divante\ClassificationTreeBundle\Service\ClassificationTreeBuilder;
10-
use Pimcore\Bundle\AdminBundle\Controller\Admin\DataObject\DataObjectController;
10+
use Pimcore\Bundle\AdminBundle\Controller\AdminController;
1111
use Sensio\Bundle\FrameworkExtraBundle\Configuration\Route;
1212
use Symfony\Component\EventDispatcher\EventDispatcherInterface;
1313
use Symfony\Component\HttpFoundation\Request;
@@ -18,7 +18,7 @@
1818
* @package Divante\ClassificationTreeBundle\Controller
1919
* @Route("/admin/classification-tree")
2020
*/
21-
class DefaultController extends DataObjectController
21+
class DefaultController extends AdminController
2222
{
2323
/** @var ClassificationTreeBuilder */
2424
protected $treeBuilderService;

0 commit comments

Comments
 (0)