Files
sprinkle-organisations/routes/dashboard.php

18 lines
534 B
PHP

<?php
/*
* AVSDev UF Organisations (https://avsdev.uk)
*
* @link https://git.avsdev.uk/avsdev/sprinkle-organisations
* @license https://git.avsdev.uk/avsdev/sprinkle-organisations/blob/master/LICENSE.md (LGPL-3.0 License)
*/
use UserFrosting\Sprinkle\Core\Util\NoCache;
/*
* Routes for dashbaord.
*/
$app->group('/dashboard', function () {
$this->get('', 'UserFrosting\Sprinkle\Organisations\Controller\DashboardController:pageDashboard')
->setName('dashboard');
})->add('authGuard')->add(new NoCache());