Skip to content

Commit

Permalink
Merge pull request #9 from DivanteLtd/bugfix/controller-inheritance
Browse files Browse the repository at this point in the history
Inherit from abstract controller
  • Loading branch information
t-zilla authored Sep 17, 2020
2 parents 4fa36ad + e1d2026 commit e2e502a
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/ClassificationTreeBundle/Controller/DefaultController.php
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
namespace Divante\ClassificationTreeBundle\Controller;

use Divante\ClassificationTreeBundle\Service\ClassificationTreeBuilder;
use Pimcore\Bundle\AdminBundle\Controller\Admin\DataObject\DataObjectController;
use Pimcore\Bundle\AdminBundle\Controller\AdminController;
use Sensio\Bundle\FrameworkExtraBundle\Configuration\Route;
use Symfony\Component\EventDispatcher\EventDispatcherInterface;
use Symfony\Component\HttpFoundation\Request;
Expand All @@ -18,7 +18,7 @@
* @package Divante\ClassificationTreeBundle\Controller
* @Route("/admin/classification-tree")
*/
class DefaultController extends DataObjectController
class DefaultController extends AdminController
{
/** @var ClassificationTreeBuilder */
protected $treeBuilderService;
Expand Down

0 comments on commit e2e502a

Please sign in to comment.