File: D:/HostingSpaces/SBogers47/leden.ehbocranendonck.nl/app/KommaApp/Pages/Kms/PageController.php
<?php
namespace App\KommaApp\Pages\Kms;
/**
* @author Komma <info@komma.pro>
* @copyright (c) 2012-2016, Komma
*/
use App\KommaApp\Forms\Models\Request;
use App\KommaApp\Kms\Core\SectionController;
use App\KommaApp\Kms\Core\Tree\TreeService;
use App\KommaApp\Pages\Models\Page;
class PageController extends SectionController
{
protected $slug = "pages";
protected $forModelName = Page::class;
/**
* Constructor
* @param PageSection $section
*/
public function __construct(PageSection $section)
{
parent::__construct($section);
}
public function index() {
// Build section tabs
$this->section->getSectionTabDirector()->buildTabs();
return $this->section->render();
}
}