Initial
This commit is contained in:
27
controllers/Index.php
Normal file
27
controllers/Index.php
Normal file
@ -0,0 +1,27 @@
|
||||
<?php
|
||||
|
||||
namespace Wms\Menu\Controllers;
|
||||
|
||||
use Backend\Classes\Controller;
|
||||
|
||||
/**
|
||||
* Settings controller
|
||||
*
|
||||
* @package october\system
|
||||
* @author Alexey Bobkov, Samuel Georges
|
||||
*
|
||||
*/
|
||||
class Index extends Controller
|
||||
{
|
||||
public function __construct()
|
||||
{
|
||||
parent::__construct();
|
||||
\BackendMenu::setContext('Wms.Menu', 'main');
|
||||
}
|
||||
|
||||
public function index()
|
||||
{
|
||||
$this->pageTitle = 'wms.menu::plugin.name';
|
||||
$this->bodyClass = 'compact-container sidenav-tree-root';
|
||||
}
|
||||
}
|
Reference in New Issue
Block a user