<?php
use Phalcon\Mvc\Controller;
class SensorController extends ControllerBase
{
public function initialize()
{
// Sets 'common' as the template to be rendered BEFORE the main layout
$this->view->setVar('body_css', "g-sidenav-show bg-gray-100");
$this->view->setVar('dashboard_js', true);
$this->view->setVar('page_title', "Sensor Management");
}
public function indexAction()
{
$this->view->pick('sensor/index');
}
}