remove TheliaDebugBarController. Fix #291

This commit is contained in:
Manuel Raynaud
2014-04-17 00:02:46 +02:00
parent fccde719b8
commit 310a5df50a
4 changed files with 1 additions and 41 deletions

View File

@@ -2,8 +2,4 @@
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="http://symfony.com/schema/routing http://symfony.com/schema/routing/routing-1.0.xsd">
<!-- Route to administration base -->
<route id="theliadebugbar.main" path="/admin/module/TheliaDebugBar">
<default key="_controller">TheliaDebugBar\Controller\Admin\TheliaDebugBarController::indexAction</default>
</route>
</routes>

View File

@@ -1,18 +0,0 @@
<?php
namespace TheliaDebugBar\Controller\Admin;
use Thelia\Controller\Admin\BaseAdminController;
use Thelia\Core\Security\AccessManager;
class TheliaDebugBarController extends BaseAdminController
{
const RESOURCE_CODE = 'module.TheliaDebugBar';
public function indexAction()
{
if (null !== $response = $this->checkAuth(self::RESOURCE_CODE, array(), AccessManager::VIEW)) return $response;
// Render the edition template.
return $this->render('tdb-index');
}
}

View File

@@ -1,18 +0,0 @@
<?php
namespace TheliaDebugBar\Controller\Admin;
use Thelia\Controller\Admin\BaseAdminController;
use Thelia\Core\Security\AccessManager;
class TheliaDebugBarController extends BaseAdminController
{
const RESOURCE_CODE = 'module.TheliaDebugBar';
public function indexAction()
{
if (null !== $response = $this->checkAuth(self::RESOURCE_CODE, array(), AccessManager::VIEW)) return $response;
// Render the edition template.
return $this->render('tdb-index');
}
}