/** * Present a form for editing an existing comment. * @see REST_Controller::form_edit($resource) */ public function _form_edit($comment) { if (!user::active()->admin) { access::forbidden(); } print comment::get_edit_form($comment); }
/** * Present a form for editing an existing comment. * @see REST_Controller::form_edit($resource) */ public function _form_edit($comment) { print comment::get_edit_form($comment); }