remove TheliaDebugBarController. Fix #291
This commit is contained in:
Submodule local/modules/Klikandpay updated: a72c066e74...15cc539db9
@@ -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>
|
||||
@@ -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');
|
||||
}
|
||||
}
|
||||
@@ -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');
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user