public function doDelelePhrase() { $id_record = Input::get("id"); Trans::find($id_record)->delete(); Trans::reCacheTrans(); return Response::json(array('status' => 'ok')); }