コード例 #1
0
 /**
  * Show the form for editing the specified resource.
  *
  * @param  int $id
  *
  * @return \Illuminate\View\View
  */
 public function edit($id)
 {
     $post = $this->repository->find($id);
     return view('backend.posts.edit', compact('post'));
 }