Skip to content

Allow flash messages when responding to turbo_stream requests#472

Merged
grosser merged 1 commit into
ambethia:masterfrom
jrodriigues:master
Sep 17, 2025
Merged

Allow flash messages when responding to turbo_stream requests#472
grosser merged 1 commit into
ambethia:masterfrom
jrodriigues:master

Conversation

@jrodriigues
Copy link
Copy Markdown
Contributor

Rails form submissions and redirects are processed as TURBO_STREAM format and not HTML, this means that when calling verify_recaptcha without passing a model doesn't create a flash message.

Pre-Merge Checklist

  • [☑] CHANGELOG.md updated with short summary for user facing changes

Rails form submissions and redirects are processed as TURBO_STREAM
format and not HTML, this means that when calling 'verify_recaptcha'
without passing a model doesn't create a flash message.
Copy link
Copy Markdown
Collaborator

@grosser grosser left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

nice!

@grosser grosser merged commit 47b5a3b into ambethia:master Sep 17, 2025
7 checks passed
@grosser
Copy link
Copy Markdown
Collaborator

grosser commented Sep 17, 2025

5.21.1

@jrodriigues jrodriigues mentioned this pull request Sep 18, 2025
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.

2 participants