public function post_closeIssue() { $input = Input::all(); $project = new Project\Issue(); $project::load_issue($input['id']); \Project\Issue::update_status_project($input, $project::current()); echo '1'; die; }