Refactor UserController to ProfileController.
This commit is contained in:
parent
5117907a4d
commit
b76a997948
9 changed files with 23 additions and 23 deletions
|
|
@ -18,7 +18,7 @@
|
|||
|
||||
<div class="flex justify-end text-white space-x-4">
|
||||
@auth
|
||||
<a href="{{ route('user.index') }}"><strong>{{ auth()->user()->username }}</strong></a>
|
||||
<a href="{{ route('profile.index') }}"><strong>{{ auth()->user()->username }}</strong></a>
|
||||
<x-form method="DELETE" action="{{ route('auth.logout') }}">
|
||||
<a href="/" onclick="this.closest('form').submit();return false;">{{ __('Logout') }}</a>
|
||||
</x-form>
|
||||
|
|
|
|||
|
|
@ -8,7 +8,7 @@
|
|||
|
||||
<div class="mx-auto max-w-sm p-4">
|
||||
|
||||
<x-form action="{{ route('user.update') }}">
|
||||
<x-form action="{{ route('profile.update') }}">
|
||||
|
||||
<div class="mb-2">
|
||||
<x-form.label for="username">{{ __('Username') }}</x-form.label>
|
||||
|
|
@ -7,7 +7,7 @@
|
|||
</x-slot>
|
||||
|
||||
<x-slot name="page_links">
|
||||
<x-button element="a" class="flex items-center" href="{{ route('user.edit') }}">
|
||||
<x-button element="a" class="flex items-center" href="{{ route('profile.edit') }}">
|
||||
<x-icon name="pencil" class="h-6 w-6 mr-1" /> {{ __('Edit') }}
|
||||
</x-button>
|
||||
</x-slot>
|
||||
Loading…
Add table
Add a link
Reference in a new issue