[AntonyAntonio] - Add initial 'ticket/create' controller [skip ci]
This commit is contained in:
parent
220ff697f8
commit
c4341002ef
|
@ -0,0 +1,9 @@
|
|||
<?php
|
||||
include 'ticket/create.php';
|
||||
|
||||
$ticketControllers = new ControllerGroup();
|
||||
$ticketControllers->setGroupPath('/ticket');
|
||||
|
||||
$ticketControllers->addController(new CreateController);
|
||||
|
||||
$ticketControllers->finalize();
|
|
@ -0,0 +1,9 @@
|
|||
<?php
|
||||
|
||||
class CreateController extends Controller {
|
||||
const PATH = '/create';
|
||||
|
||||
public function handler(){
|
||||
Response::respondError('TEST');
|
||||
}
|
||||
}
|
Loading…
Reference in New Issue