mirror of
https://github.com/Karaka-Management/oms-Auditor.git
synced 2026-02-04 08:18:41 +00:00
fix event triggering bug, needs to be regex/similar
This commit is contained in:
parent
7ba929b175
commit
4862346d3f
|
|
@ -1,13 +1,13 @@
|
|||
<?php declare(strict_types=1);
|
||||
|
||||
return [
|
||||
'POST:Module:.*?\-create' => [
|
||||
'/POST:Module:.*?\-create/' => [
|
||||
'callback' => ['\Modules\Auditor\Controller\ApiController:apiLogCreate'],
|
||||
],
|
||||
'POST:Module:.*?\-update' => [
|
||||
'/POST:Module:.*?\-update/' => [
|
||||
'callback' => ['\Modules\Auditor\Controller\ApiController:apiLogUpdate'],
|
||||
],
|
||||
'POST:Module:.*?\-delete' => [
|
||||
'/POST:Module:.*?\-delete/' => [
|
||||
'callback' => ['\Modules\Auditor\Controller\ApiController:apiLogDelete'],
|
||||
],
|
||||
];
|
||||
|
|
|
|||
|
|
@ -70,7 +70,7 @@ echo $this->getData('nav')->render(); ?>
|
|||
<td><?= $audit->getCreatedAt()->format('Y-m-d H:i'); ?>
|
||||
<?php endforeach; ?>
|
||||
<?php if ($count === 0) : ?>
|
||||
<tr><td colspan="9" class="empty"><?= $this->getHtml('Empty', '0', '0'); ?>
|
||||
<tr><td colspan="10" class="empty"><?= $this->getHtml('Empty', '0', '0'); ?>
|
||||
<?php endif; ?>
|
||||
</table>
|
||||
<div class="portlet-foot">
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user