public function single($id) { $side = Post::paginate(10); $post = Post::find($id); return view('posts/single', ['post' => $post, 'side' => $side]); }