Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[1.x] Simplify Inertia logout links #48

Merged
merged 3 commits into from
Feb 18, 2021
Merged

[1.x] Simplify Inertia logout links #48

merged 3 commits into from
Feb 18, 2021

Conversation

reinink
Copy link
Contributor

@reinink reinink commented Feb 18, 2021

This PR simplifies the logout links for the Inertia implementation. Inertia link support both a method and as attributes, which lets us to avoid using a form for the logout links. Also, by making the <inertia-link> the top level element in these link components, we're able to take advantage of Vue's attribute inheritance. 👍

@driesvints driesvints changed the title Simplify Inertia logout links [1.x] Simplify Inertia logout links Feb 18, 2021
claudiodekker and others added 2 commits February 18, 2021 16:07
# Conflicts:
#	stubs/inertia/resources/js/Components/DropdownLink.vue
#	stubs/inertia/resources/js/Components/ResponsiveNavLink.vue
@taylorotwell taylorotwell merged commit a3fc09a into laravel:1.x Feb 18, 2021
@reinink reinink deleted the simplify-logout-links branch February 18, 2021 15:21
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants