public function before() { parent::before(); $tk = $this->request->query('tk'); if (!empty($tk)) { $this->user = ORM::factory('V1_UserToken')->getUser($tk); } $this->data = json_decode($this->request->body(), $this->assoc); }
public function before() { parent::before(); }