/** * Remove the specified resource from storage. * * @param App\Room $room * @return Response */ public function destroy(Room $room) { $room->delete(); return redirect('/room'); }
/** * Remove the specified resource from storage. * * @param Room $room * @return \Illuminate\Http\Response */ public function destroy(Room $room) { $room->delete(); return redirect(route('room.index')); }