mirror of
https://github.com/Karaka-Management/oms-Comments.git
synced 2026-01-11 08:08:41 +00:00
ui fixes
This commit is contained in:
parent
ba022d1a99
commit
27960cc392
|
|
@ -23,6 +23,7 @@ return [
|
||||||
'dest' => '\Modules\Comments\Controller\ApiController:apiCommentCreate',
|
'dest' => '\Modules\Comments\Controller\ApiController:apiCommentCreate',
|
||||||
'verb' => RouteVerb::PUT,
|
'verb' => RouteVerb::PUT,
|
||||||
'csrf' => true,
|
'csrf' => true,
|
||||||
|
'active' => true,
|
||||||
'permission' => [
|
'permission' => [
|
||||||
'module' => ApiController::NAME,
|
'module' => ApiController::NAME,
|
||||||
'type' => PermissionType::CREATE,
|
'type' => PermissionType::CREATE,
|
||||||
|
|
@ -33,6 +34,7 @@ return [
|
||||||
'dest' => '\Modules\Comments\Controller\ApiController:apiCommentUpdate',
|
'dest' => '\Modules\Comments\Controller\ApiController:apiCommentUpdate',
|
||||||
'verb' => RouteVerb::SET,
|
'verb' => RouteVerb::SET,
|
||||||
'csrf' => true,
|
'csrf' => true,
|
||||||
|
'active' => true,
|
||||||
'permission' => [
|
'permission' => [
|
||||||
'module' => ApiController::NAME,
|
'module' => ApiController::NAME,
|
||||||
'type' => PermissionType::CREATE,
|
'type' => PermissionType::CREATE,
|
||||||
|
|
@ -45,6 +47,7 @@ return [
|
||||||
'dest' => '\Modules\Comments\Controller\ApiController:apiCommentListUpdate',
|
'dest' => '\Modules\Comments\Controller\ApiController:apiCommentListUpdate',
|
||||||
'verb' => RouteVerb::SET,
|
'verb' => RouteVerb::SET,
|
||||||
'csrf' => true,
|
'csrf' => true,
|
||||||
|
'active' => true,
|
||||||
'permission' => [
|
'permission' => [
|
||||||
'module' => ApiController::NAME,
|
'module' => ApiController::NAME,
|
||||||
'type' => PermissionType::CREATE,
|
'type' => PermissionType::CREATE,
|
||||||
|
|
@ -57,6 +60,7 @@ return [
|
||||||
'dest' => '\Modules\Comments\Controller\ApiController:apiChangeCommentVote',
|
'dest' => '\Modules\Comments\Controller\ApiController:apiChangeCommentVote',
|
||||||
'verb' => RouteVerb::PUT | RouteVerb::SET,
|
'verb' => RouteVerb::PUT | RouteVerb::SET,
|
||||||
'csrf' => true,
|
'csrf' => true,
|
||||||
|
'active' => true,
|
||||||
'permission' => [
|
'permission' => [
|
||||||
'module' => ApiController::NAME,
|
'module' => ApiController::NAME,
|
||||||
'type' => PermissionType::CREATE,
|
'type' => PermissionType::CREATE,
|
||||||
|
|
|
||||||
|
|
@ -17,7 +17,7 @@ namespace Modules\Comments\Models;
|
||||||
use phpOMS\DataStorage\Database\Mapper\DataMapperFactory;
|
use phpOMS\DataStorage\Database\Mapper\DataMapperFactory;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Mapper class.
|
* CommentList mapper class.
|
||||||
*
|
*
|
||||||
* @package Modules\Comments\Models
|
* @package Modules\Comments\Models
|
||||||
* @license OMS License 2.0
|
* @license OMS License 2.0
|
||||||
|
|
|
||||||
|
|
@ -19,7 +19,7 @@ use Modules\Media\Models\MediaMapper;
|
||||||
use phpOMS\DataStorage\Database\Mapper\DataMapperFactory;
|
use phpOMS\DataStorage\Database\Mapper\DataMapperFactory;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Mapper class.
|
* Comment mapper class.
|
||||||
*
|
*
|
||||||
* @package Modules\Comments\Models
|
* @package Modules\Comments\Models
|
||||||
* @license OMS License 2.0
|
* @license OMS License 2.0
|
||||||
|
|
|
||||||
|
|
@ -17,7 +17,7 @@ namespace Modules\Comments\Models;
|
||||||
use phpOMS\DataStorage\Database\Mapper\DataMapperFactory;
|
use phpOMS\DataStorage\Database\Mapper\DataMapperFactory;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Mapper class.
|
* CommentVote mapper class.
|
||||||
*
|
*
|
||||||
* @package Modules\Comments\Models
|
* @package Modules\Comments\Models
|
||||||
* @license OMS License 2.0
|
* @license OMS License 2.0
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue
Block a user