Archived
1
0
Fork 0

app/controllers/backend/UserController.php: use the side-menu layout

This commit is contained in:
Henrik Hautakoski 2018-12-31 00:15:08 +01:00
parent bed7b36748
commit 34d2c048f5
No known key found for this signature in database
GPG key ID: 96765B12FEAC4745
2 changed files with 33 additions and 31 deletions

View file

@ -6,6 +6,11 @@ use App\Model\Data\User;
class UserController extends \Phalcon\Mvc\Controller
{
public function onConstruct()
{
$this->view->setLayout('side-menu');
}
/**
* @param $page
*/

View file

@ -1,6 +1,4 @@
<div class="section">
<h1>Users</h1>
<table class="table table-striped table-hover">
@ -33,4 +31,3 @@
<nav class="text-center" aria-label="Page navigation">
{{ partial('pagination') }}
</nav>
</div>