/** * Show the form for editing the specified resource. * * @param int $id * @return Response */ public function edit($id) { $postTypes = PostType::all(); $post = Post::find($id); $post->load('user', 'postType'); return View::make('posts.edit')->with('post', $post)->with('postTypes', $postTypes); }