/** * Update Profile Request * * @author David Stansfield */ public function post_profile_update() { $data = array('inputName' => \Input::post('inputName'), 'oldValue' => \Input::post('oldValue'), 'newValue' => serialize(\Input::post('newValue'))); Model_Intranet::saveProfileChangeRequest($data); return Json::output('success', 'Saved'); }