示例#1
0
 /**
  * Show the form for editing the specified resource.
  *
  * @param  int  $id
  * @return Response
  */
 public function edit($id)
 {
     $modal_title = trans('kotoba::general.command.delete');
     $modal_body = trans('kotoba::general.ask.delete');
     $modal_route = 'admin.statuses.destroy';
     $modal_id = $id;
     $model = '$status';
     //dd($modal_body);
     return View('general::statuses.edit', $this->status->edit($id), compact('modal_title', 'modal_body', 'modal_route', 'modal_id', 'model'));
 }