mirror of
https://github.com/Karaka-Management/oms-Checklist.git
synced 2026-02-05 19:38:41 +00:00
Fixing remaining bugs for route-restructure
This commit is contained in:
parent
bf8db19768
commit
5cfc5d2515
|
|
@ -17,6 +17,7 @@ namespace Modules\Checklist\Admin;
|
|||
|
||||
use phpOMS\DataStorage\Database\DatabaseType;
|
||||
use phpOMS\DataStorage\Database\Pool;
|
||||
use phpOMS\Module\InfoManager;
|
||||
use phpOMS\Module\InstallerAbstract;
|
||||
|
||||
/**
|
||||
|
|
|
|||
|
|
@ -1,5 +1,7 @@
|
|||
<?php
|
||||
|
||||
use phpOMS\Router\RouteVerb;
|
||||
|
||||
return [
|
||||
'^.*/backend/checklist/list.*$' => [
|
||||
[
|
||||
|
|
|
|||
|
|
@ -90,7 +90,7 @@ class Controller extends ModuleAbstract implements WebInterface
|
|||
* @since 1.0.0
|
||||
* @author Dennis Eichhorn <d.eichhorn@oms.com>
|
||||
*/
|
||||
public function viewChecklistList(RequestAbstract $request, ResponseAbstract $response, $data = null) : RenderableInterface
|
||||
public function viewChecklistList(RequestAbstract $request, ResponseAbstract $response, $data = null) : \Serializable
|
||||
{
|
||||
$view = new View($this->app, $request, $response);
|
||||
$view->setTemplate('/Modules/Checklist/Theme/Backend/checklist-list');
|
||||
|
|
@ -109,7 +109,7 @@ class Controller extends ModuleAbstract implements WebInterface
|
|||
* @since 1.0.0
|
||||
* @author Dennis Eichhorn <d.eichhorn@oms.com>
|
||||
*/
|
||||
public function viewChecklistTemplateList(RequestAbstract $request, ResponseAbstract $response, $data = null) : RenderableInterface
|
||||
public function viewChecklistTemplateList(RequestAbstract $request, ResponseAbstract $response, $data = null) : \Serializable
|
||||
{
|
||||
$view = new View($this->app, $request, $response);
|
||||
$view->setTemplate('/Modules/Checklist/Theme/Backend/checklist-template-list');
|
||||
|
|
@ -128,7 +128,7 @@ class Controller extends ModuleAbstract implements WebInterface
|
|||
* @since 1.0.0
|
||||
* @author Dennis Eichhorn <d.eichhorn@oms.com>
|
||||
*/
|
||||
public function viewChecklistTemplateCreate(RequestAbstract $request, ResponseAbstract $response, $data = null) : RenderableInterface
|
||||
public function viewChecklistTemplateCreate(RequestAbstract $request, ResponseAbstract $response, $data = null) : \Serializable
|
||||
{
|
||||
$view = new View($this->app, $request, $response);
|
||||
$view->setTemplate('/Modules/Checklist/Theme/Backend/checklist-template-create');
|
||||
|
|
|
|||
|
|
@ -13,5 +13,5 @@
|
|||
* @version 1.0.0
|
||||
* @link http://orange-management.com
|
||||
*/
|
||||
$MODLANG['Navigation'] = [
|
||||
];
|
||||
return ['Navigation' => [
|
||||
]];
|
||||
|
|
|
|||
|
|
@ -13,7 +13,7 @@
|
|||
* @version 1.0.0
|
||||
* @link http://orange-management.com
|
||||
*/
|
||||
$MODLANG['Checklist'] = [
|
||||
return ['Checklist' => [
|
||||
'Checklist' => 'Checklist',
|
||||
'Checklists' => 'Checklists',
|
||||
'Created' => 'Created',
|
||||
|
|
@ -27,4 +27,4 @@ $MODLANG['Checklist'] = [
|
|||
'Tasks' => 'Tasks',
|
||||
'Templates' => 'Templates',
|
||||
'Title' => 'Title',
|
||||
];
|
||||
]];
|
||||
|
|
|
|||
|
|
@ -13,9 +13,9 @@
|
|||
* @version 1.0.0
|
||||
* @link http://orange-management.com
|
||||
*/
|
||||
$MODLANG['Navigation'] = [
|
||||
return ['Navigation' => [
|
||||
'Checklist' => 'Checklist',
|
||||
'Checklists' => 'Checklists',
|
||||
'CreateCheclist' => 'CreateCheclist',
|
||||
'Templates' => 'Templates',
|
||||
];
|
||||
]];
|
||||
|
|
|
|||
|
|
@ -13,5 +13,5 @@
|
|||
* @version 1.0.0
|
||||
* @link http://orange-management.com
|
||||
*/
|
||||
$MODLANG['Navigation'] = [
|
||||
];
|
||||
return ['Navigation' => [
|
||||
]];
|
||||
|
|
|
|||
|
|
@ -13,7 +13,7 @@
|
|||
* @version 1.0.0
|
||||
* @link http://orange-management.com
|
||||
*/
|
||||
$MODLANG['Checklist'] = [
|
||||
return ['Checklist' => [
|
||||
'Checklist' => 'Checklist',
|
||||
'Checklists' => 'Checklists',
|
||||
'Created' => 'Created',
|
||||
|
|
@ -27,4 +27,4 @@ $MODLANG['Checklist'] = [
|
|||
'Tasks' => 'Tasks',
|
||||
'Templates' => 'Templates',
|
||||
'Title' => 'Title',
|
||||
];
|
||||
]];
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user