findOrFail($id); $this->authorize('view', $tournament); foreach ($tournament->rounds as $round) { try { $this->authorize('seeResults', $round); } catch (AuthorizationException) { $round->hideResults(); } } return $tournament->toJson(); } }