Beispiel #1
0
 public function getAction()
 {
     Res::html('index', ['title' => 'Oni - A Simple REST Framework', 'method' => Req::method(), 'param' => implode('/', Req::param())]);
 }
Beispiel #2
0
 public function deleteAction()
 {
     Res::json($this->json, $this->option);
 }