/** * Show the user's public profile page. * * @param string $username * @return \Response */ public function getPublic($username) { $user = $this->users->requireByUsername($username); $tricks = $this->tricks->findAllForUser($user); $this->view('user.public', compact('user', 'tricks')); }