Update the dashboard with an organisations widget

This commit is contained in:
2022-03-07 16:27:52 +00:00
parent 2005a17eef
commit 012b633eaf
10 changed files with 554 additions and 0 deletions

18
routes/dashboard.php Normal file
View File

@@ -0,0 +1,18 @@
<?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());