Files
sterivein/local/modules/TheliaDebugBar/Controller/Admin/TheliaDebugBarController.php
Franck Allimant 842299bee8 Fixed typo
2014-01-16 11:31:18 +01:00

18 lines
504 B
PHP

<?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');
}
}