marcoroth/turbo_power

Implement `turbo_visit` action

Opened this issue · 0 comments

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