public function getPostToUpdate($id) { $post = Posts::whereId($id)->first(); return \Theme::view('admin.posts.update', ['post' => $post]); }