public function destroy($id) { $location = \App\Location::FindOrFail($id); $location->delete(); \Session::flash('flash_message', 'Location has been deleted.'); return redirect('locations'); }
public function destroy($id) { $location = \App\Location::FindOrFail($id); $location->delete(); \Session::flash('flash_message', 'Location has been deleted.'); return redirect('locations'); }