Пример #1
0
 /**
  * Display the specified resource.
  *
  * @param  int  $id
  * @return \Illuminate\Http\Response
  */
 public function show($slug)
 {
     $blog = \App\Blog::whereslug($slug)->first();
     return view('blog.show')->with('blog', $blog);
 }