Skip to content

Commit

Permalink
fix: typo in endorsements
Browse files Browse the repository at this point in the history
  • Loading branch information
blt950 committed Mar 20, 2024
1 parent 61e229e commit e9954bb
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion app/Http/Controllers/EndorsementController.php
Original file line number Diff line number Diff line change
Expand Up @@ -189,7 +189,7 @@ public function store(Request $request)
$linkedToTraining = false;
}

// Validate that this user has other endrosement of this type from before
// Validate that this user has other endorsements of this type from before
if ($user->hasActiveEndorsement('SOLO')) {
return back()->withInput()->withErrors($user->name . ' has already an active solo endorsement. Revoke it first, to create a new one.');
}
Expand Down
2 changes: 1 addition & 1 deletion resources/views/user/show.blade.php
Original file line number Diff line number Diff line change
Expand Up @@ -280,7 +280,7 @@
<div class="card-body d-flex flex-wrap gap-3">

@if($endorsements->count() == 0)
<p class="mb-0">No registered endrosements</p>
<p class="mb-0">No registered endorsements</p>
@endif

@foreach($endorsements as $endorsement)
Expand Down

0 comments on commit e9954bb

Please sign in to comment.