/**
  * Show the form for editing the specified resource.
  *
  * @param  int $id
  * @return Response
  */
 public function edit($id, Article $article, User $user)
 {
     return view('admin.articles.edit')->with('article', $article->find($id))->with('user', $user->all());
 }
Exemplo n.º 2
0
 /**
  * Show the form for editing the specified resource.
  *
  * @param  int $id
  * @return Response
  */
 public function edit($id, User $user, Album $album)
 {
     return view('admin.albums.edit')->with('album', $album->find($id))->with('users', $user->all());
 }