Ejemplo n.º 1
0
 /**
  * Display the specified resource.
  *
  * @param  int  $id
  * @return Response
  */
 public function show($tag)
 {
     $articles = News::withAnyTag($tag)->get();
     $artworks = Artwork::withAnyTag($tag)->get();
     $events = Event::withAnyTag($tag)->get();
     return View::make('tags/show', compact('articles', 'artworks', 'events', 'tag'));
 }