/**
  * Display the specified resource.
  *
  * @param  int  $id
  * @return Response
  */
 public function show($slug)
 {
     $post = Post::where('slug', $slug)->firstOrFail();
     $moreWorks = Work::orderByRaw('RAND()')->take(3)->get();
     $morePosts = Post::where('slug', '!=', $post->slug)->orderByRaw('RAND()')->take(3)->get();
     return view('posts.show', compact("post", "moreWorks", "morePosts"));
 }