/** * 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()); }
/** * 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()); }