mirror of
https://github.com/Karaka-Management/oms-Dashboard.git
synced 2026-02-08 22:58:40 +00:00
Fixing remaining bugs for route-restructure
This commit is contained in:
parent
4f33b6e6da
commit
01a1cadf5b
|
|
@ -14,7 +14,9 @@
|
|||
* @link http://orange-management.com
|
||||
*/
|
||||
namespace Modules\Dashboard\Admin;
|
||||
|
||||
use phpOMS\DataStorage\Database\Pool;
|
||||
use phpOMS\Module\InfoManager;
|
||||
|
||||
/**
|
||||
* Dashboard install class.
|
||||
|
|
|
|||
|
|
@ -1,5 +1,7 @@
|
|||
<?php
|
||||
|
||||
use phpOMS\Router\RouteVerb;
|
||||
|
||||
return [
|
||||
'^.*/backend/dashboard/list.*$' => [
|
||||
[
|
||||
|
|
|
|||
|
|
@ -90,7 +90,7 @@ class Controller extends ModuleAbstract implements WebInterface
|
|||
* @since 1.0.0
|
||||
* @author Dennis Eichhorn <d.eichhorn@oms.com>
|
||||
*/
|
||||
public function viewDashboard(RequestAbstract $request, ResponseAbstract $response, $data = null) : RenderableInterface
|
||||
public function viewDashboard(RequestAbstract $request, ResponseAbstract $response, $data = null) : \Serializable
|
||||
{
|
||||
$view = new View($this->app, $request, $response);
|
||||
$view->setTemplate('/Modules/Dashboard/Theme/Backend/dashboard');
|
||||
|
|
|
|||
|
|
@ -13,8 +13,8 @@
|
|||
* @version 1.0.0
|
||||
* @link http://orange-management.com
|
||||
*/
|
||||
$MODLANG['Navigation'] = [
|
||||
return ['Navigation' => [
|
||||
'Dashboard' => 'Dashboard',
|
||||
'Home' => 'Home',
|
||||
'Logout' => 'Logout',
|
||||
];
|
||||
]];
|
||||
|
|
|
|||
|
|
@ -13,8 +13,8 @@
|
|||
* @version 1.0.0
|
||||
* @link http://orange-management.com
|
||||
*/
|
||||
$MODLANG['Navigation'] = [
|
||||
return ['Navigation' => [
|
||||
'Dashboard' => 'Dashboard',
|
||||
'Home' => 'Home',
|
||||
'Logout' => 'Logout',
|
||||
];
|
||||
]];
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user