Esempio n. 1
0
 /**
  * Show the browse by tag page.
  *
  * @param  string  $tag
  * @return \Response
  */
 public function getBrowseTag($tag)
 {
     list($tag, $tricks) = $this->tricks->findByTag($tag);
     $type = \Lang::get('browse.tag', array('tag' => $tag->name));
     $pageTitle = \Lang::get('browse.browsing_tag', array('tag' => $tag->name));
     $this->view('browse.index', compact('tricks', 'type', 'pageTitle'));
 }
 /**
  * Show the browse by tag page.
  *
  * @param  string  $tag
  * @return \Response
  */
 public function getBrowseTag($tag)
 {
     list($tag, $tricks) = $this->tricks->findByTag($tag);
     $type = 'Tag "' . $tag->name . '"';
     $pageTitle = 'Browsing Tag "' . $tag->name . '"';
     $this->view('browse.index', compact('tricks', 'type', 'pageTitle'));
 }