From 4f127b1d214db5163c620c2eeb413923178179eb Mon Sep 17 00:00:00 2001 From: Ivan Diaz Date: Fri, 30 Sep 2016 18:47:04 -0300 Subject: [PATCH] Ivan - Add text editor to text area [skip ci] --- server/controllers/staff.php | 2 ++ server/controllers/staff/assign.php | 23 +++++++++++++++++++++++ 2 files changed, 25 insertions(+) create mode 100644 server/controllers/staff/assign.php diff --git a/server/controllers/staff.php b/server/controllers/staff.php index 21df1a90..da897571 100644 --- a/server/controllers/staff.php +++ b/server/controllers/staff.php @@ -1,9 +1,11 @@ setGroupPath('/staff'); $systemControllerGroup->addController(new GetStaffController); +$systemControllerGroup->addController(new AssignStaffController); $systemControllerGroup->finalize(); \ No newline at end of file diff --git a/server/controllers/staff/assign.php b/server/controllers/staff/assign.php new file mode 100644 index 00000000..423f1038 --- /dev/null +++ b/server/controllers/staff/assign.php @@ -0,0 +1,23 @@ + 'staff_1', + 'requestData' => [ + 'ticketNumber' => [ + 'validation' => DataValidator::validTicketNumber(), + 'error' => ERRORS::INVALID_TICKET + ] + ] + ]; + } + + public function handler() { + + } +}