Skip to content

Commit

Permalink
Update TeamController.php
Browse files Browse the repository at this point in the history
  • Loading branch information
inmanturbo authored Jun 25, 2024
1 parent 334f6b7 commit 0b92b6d
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions stubs/navigation/app/Http/Controllers/TeamController.php
Original file line number Diff line number Diff line change
Expand Up @@ -15,9 +15,9 @@ class TeamController extends Controller
* @param int $teamId
* @return \Illuminate\View\View
*/
public function show(Request $request, $teamUUID)
public function show(Request $request, $team)
{
$team = Jetstream::newTeamModel()->where('uuid', $teamUUID)->firstOrFail();
$team = Jetstream::newTeamModel()->where('uuid', $team)->firstOrFail();

if (Gate::denies('view', $team)) {
abort(403);
Expand Down

0 comments on commit 0b92b6d

Please sign in to comment.