/** * Show the browse recent tricks page. * * @return \Response */ public function getBrowseRecent() { $tricks = $this->tricks->findMostRecent(); $type = \Lang::get('browse.recent'); $pageTitle = \Lang::get('browse.browsing_most_recent_tricks'); $this->view('browse.index', compact('tricks', 'type', 'pageTitle')); }
/** * Show the browse recent tricks page. * * @return \Response */ public function getBrowseRecent() { $tricks = $this->tricks->findMostRecent(); $type = 'Recent'; $pageTitle = 'Browsing Most Recent Laravel Tricks'; $this->view('browse.index', compact('tricks', 'type', 'pageTitle')); }