guillermo- wip [skip ci]
This commit is contained in:
parent
ef2eff8c6f
commit
73633278e6
|
@ -3,6 +3,7 @@ require_once 'staff/get.php';
|
|||
require_once 'staff/assign-ticket.php';
|
||||
require_once 'staff/un-assign-ticket.php';
|
||||
require_once 'staff/get-tickets.php';
|
||||
require_once 'staff/get-new-tickets.php';
|
||||
|
||||
$systemControllerGroup = new ControllerGroup();
|
||||
$systemControllerGroup->setGroupPath('/staff');
|
||||
|
@ -11,5 +12,6 @@ $systemControllerGroup->addController(new GetStaffController);
|
|||
$systemControllerGroup->addController(new AssignStaffController);
|
||||
$systemControllerGroup->addController(new UnAssignStaffController);
|
||||
$systemControllerGroup->addController(new GetTicketStaffController);
|
||||
$systemControllerGroup->addController(new GetNewTicketsStaffController);
|
||||
|
||||
$systemControllerGroup->finalize();
|
|
@ -0,0 +1,17 @@
|
|||
<?php
|
||||
use Respect\Validation\Validator as DataValidator;
|
||||
|
||||
class GetNewTicketsStaffControllers extends Controller {
|
||||
const PATH = '/get-new-tickets';
|
||||
|
||||
public function validations() {
|
||||
return[
|
||||
'permission' => 'staff_1',
|
||||
'requestData' => []
|
||||
];
|
||||
}
|
||||
|
||||
public function handler() {
|
||||
|
||||
}
|
||||
}
|
Loading…
Reference in New Issue