public function show($id)
 {
     $blog = Blog::find($id);
     if ($blog->privacy == 3 && !FEUsersHelper::isCurrentUser($blog->user->id)) {
         return Redirect::to('blog?user_id=' . $blog->user->id);
     } else {
         $blogs = Blog::where('user_id', $blog->user->id)->get();
         return View::make('frontend/blogs/show')->with('blog', $blog)->with('blogs', $blogs)->with('user', $blog->user);
     }
 }
 /**
  * Display the specified resource.
  *
  * GET /{id}
  * @param  int  $id
  * @return \Illuminate\Http\Response
  */
 public function show($id)
 {
     $blog = Blog::where('id', $id)->paginate(10);
     return view('pages.index')->with('blog', $blog);
 }
 /**
  * Display the specified resource.
  * GET /tags/{id}
  *
  * @param  int  $id
  * @return Response
  */
 public function show($id)
 {
     $tag = Tag::find($id);
     $blogs = Blog::where('tag_id', '=', $id)->orderBy('id', 'DESC')->get();
     return View::make('blogs.blog_with_cats', compact('tag', 'blogs'));
 }