Skip to content

Commit

Permalink
se task fi commit
Browse files Browse the repository at this point in the history
  • Loading branch information
salah committed Dec 24, 2023
1 parent 92ae037 commit c46e2d0
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions resources/views/layouts/navigation.blade.php
Original file line number Diff line number Diff line change
Expand Up @@ -16,9 +16,11 @@
{{ __('Users') }}
</x-nav-link>
{{-- Task: this "Profile" link should be visible only to logged-in users --}}
@if(auth()->check())
<x-nav-link href="/profile" :active="request()->routeIs('profile.show')">
{{ __('Profile') }}
</x-nav-link>
@endif
</div>
</div>

Expand Down

0 comments on commit c46e2d0

Please sign in to comment.