Skip to content
Toggle navigation
Projects
Groups
Snippets
Help
Письменов Дмитрий Иванович
/
yourroomads
This project
Loading...
Sign in
Toggle navigation
Go to a project
Project
Repository
Settings
Activity
Graph
Charts
Create a new issue
Commits
Issue Boards
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Commit d41b483a
authored
Dec 22, 2020
by
Jonathan Reinink
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Update logout link to a button
1 parent
b0616682
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 additions
and
1 deletions
resources/js/Shared/Layout.vue
resources/js/Shared/Layout.vue
View file @
d41b483
...
...
@@ -28,7 +28,7 @@
<div
slot=
"dropdown"
class=
"mt-2 py-2 shadow-xl bg-white rounded text-sm"
>
<inertia-link
class=
"block px-6 py-2 hover:bg-indigo-500 hover:text-white"
:href=
"route('users.edit', $page.props.auth.user.id)"
>
My Profile
</inertia-link>
<inertia-link
class=
"block px-6 py-2 hover:bg-indigo-500 hover:text-white"
:href=
"route('users')"
>
Manage Users
</inertia-link>
<inertia-link
class=
"block px-6 py-2 hover:bg-indigo-500 hover:text-white
"
:href=
"route('logout')"
method=
"post
"
>
Logout
</inertia-link>
<inertia-link
class=
"block px-6 py-2 hover:bg-indigo-500 hover:text-white
w-full text-left"
:href=
"route('logout')"
method=
"post"
as=
"button
"
>
Logout
</inertia-link>
</div>
</dropdown>
</div>
...
...
Write
Preview
Markdown
is supported
Attach a file
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to post a comment