/** * Remove the specified resource from storage. * * @param int $id * @return \Illuminate\Http\Response */ public function destroy($id) { Profesor::destroy($id); Session::flash('mensaje', 'Profesor eliminado correctamente'); return redirect('profesores'); }