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

Implement turbo_visit action #18

Open
marcoroth opened this issue Nov 19, 2022 · 0 comments
Open

Implement turbo_visit action #18

marcoroth opened this issue Nov 19, 2022 · 0 comments
Labels
good first issue Good for newcomers help wanted Good for people who want to contribute to the project new custom action

Comments

@marcoroth
Copy link
Owner

marcoroth commented Nov 19, 2022

Action signature:

turbo_stream.turbo_visit(location, action = "advance", **attributes)

Action content:

Turbo.visit(location)
Turbo.visit(location, { action: turbo_action })

Check out the existing redirect_to action, which technically already covers the use-case for this action.

Reference:
https://turbo.hotwired.dev/reference/drive#turbo.visit

@marcoroth marcoroth added help wanted Good for people who want to contribute to the project good first issue Good for newcomers new custom action labels Nov 19, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
good first issue Good for newcomers help wanted Good for people who want to contribute to the project new custom action
Projects
None yet
Development

No branches or pull requests

1 participant