class UserController extends BaseController { public function __construct() { } public function showUser($id) { $user = User::find($id); return View::make('show', array('user' => $user)); } }