Example #1
0
 /**
  * Display the specified resource.
  *
  * @param Article $article
  * @return \Illuminate\Http\Response
  */
 public function show($article)
 {
     // Increase views
     $article->view++;
     $article->save();
     // Output
     $article->append('first_related_destination')->append('content_as_html');
     return View::make('pages.blogdetail', ['article' => $article]);
 }