/**
  * Display a listing of the resource.
  *
  * @return \Illuminate\Http\Response
  */
 public function index($slug)
 {
     $article = \App\Articles::where('slug', '=', $slug)->first();
     $articles = \App\Articles::whereNotIn('slug', array($slug))->take(3)->get();
     $data = array('article' => $article, 'articles' => $articles);
     return view('pages.article', $data);
 }