Skip to content

Commit f722650

Browse files
fix:lar-178 profile link (#316)
2 parents 0efc64d + af32481 commit f722650

File tree

3 files changed

+3
-2
lines changed

3 files changed

+3
-2
lines changed

.gitignore

+1
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,7 @@ npm-debug.log
55
yarn-error.log
66
yarn.lock
77
package-json.lock
8+
composer.lock
89
pnpm-lock.yml
910
/vendor
1011
composer.phar

resources/views/components/layouts/header.blade.php

+1-1
Original file line numberDiff line numberDiff line change
@@ -147,7 +147,7 @@ class="relative inline-flex items-center justify-center rounded-lg bg-white p-2
147147
</div>
148148
<div class="mt-6 flex flex-col space-y-4">
149149
<x-nav.item
150-
:href="route('profile')"
150+
:href="route('profile', ['user' => $user->username])"
151151
:title="__('global.navigation.profile')"
152152
/>
153153
<x-nav.item

routes/features/account.php

+1-1
Original file line numberDiff line numberDiff line change
@@ -10,4 +10,4 @@
1010
Route::get('/dashboard', Account\Dashboard::class)->name('dashboard');
1111
});
1212

13-
Route::get('/@{user:username?}', Account\Profile::class)->name('profile');
13+
Route::get('/@{user:username}', Account\Profile::class)->name('profile');

0 commit comments

Comments
 (0)