Update the dashboard with an organisations widget
This commit is contained in:
18
routes/dashboard.php
Normal file
18
routes/dashboard.php
Normal 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());
|
||||
Reference in New Issue
Block a user