-
-
Notifications
You must be signed in to change notification settings - Fork 16
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
Add turbo_frame
option to redirect_to
action
#79
Add turbo_frame
option to redirect_to
action
#79
Conversation
Hey @adrianthedev, nice one, thank you! Regarding the API: So I think to keep it consistent we can add |
Gotcha! Let me put the finishing touches and add some tests over the coming days. |
Awesome, let me know if you need any guidance or when you get stuck somewhere 🙌🏼 |
I addressed your feedback. Not sure why this test is failing. |
Co-authored-by: Marco Roth <marco.roth@intergga.ch>
Co-authored-by: Marco Roth <marco.roth@intergga.ch>
…ianthedev/turbo_power into feature/add-frame-to-redirect-action
turbo_frame
option to redirect_to
action
Thank you @adrianthedev! |
Adds the
frame
option to theredirect_to
action.Super useful for when you'd like to perform an update and a redirect using turbo streams.
I think the
frame
keyword argument is better suited for this rather than a positional argument, but it's up to you to set the API.Thanks!