function contact_type_delete($id = '', $page = '') { $contact = new Training_contact_type(); $contact->get_by_id($id); $contact->delete(); Session::flash('msg', 'Training Contact Type Deleted!'); return Redirect::to('training_manage/contact_type/' . $page, 'refresh'); }