コード例 #1
0
 /**
  * Remove the specified resource from storage.
  *
  * @param  int  $id
  * @return Response
  */
 public function destroy(Business $business, Service $service)
 {
     $this->log->info("BusinessServiceController: destroy: businessId:{$business->id} serviceId:{$service->id}");
     $service->forceDelete();
     Flash::success(trans('manager.services.msg.destroy.success'));
     return redirect()->route('manager.business.service.index', $business);
 }