/** * Remove the specified resource from storage. * * @param int $id * @return Response */ public function destroy($kode_pertanyaan) { $pertanyaan = Pertanyaan::find($kode_pertanyaan); $pertanyaan->delete(); return Redirect::to('administrator/pertanyaan')->with('msgs', 'Pertanyaan berhasil dihapus !'); }