turbo_stream is a private method in after_login hook? #227
Unanswered
xpressivecode
asked this question in
Q&A
Replies: 2 comments 2 replies
-
For the time being, I'm using. I'm still curious as to what I was doing wrong in the original implementation given the readme.
|
Beta Was this translation helpful? Give feedback.
0 replies
-
Yeah, I also understood from previous discussions that Regardless, I was considering exposing the |
Beta Was this translation helpful? Give feedback.
2 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
In looking at the readme example, a simple implementation is throwing an error:
private method 'turbo_stream' called for #<RodauthController:0x0000000003aef8>
Unfortunately the readme example doesn't show the use of the stream itself, so hopefully I'm just calling this wrong?
I looked at some other discussions/issues and stumbled across someone calling it. which is what I'm basing my implementation off of
Did I forget to set something up? If the context matters. We need to show the login/create in a modal and after a successful login or account creation, we're trying to use a custom turbo action to refresh the existing page vs redirecting. It's all working great, until the point of sending our custom turbo stream action back.
rodauth-rails version 1.11.0
turbo-rails: 1.4.0
Thanks in advance!
Beta Was this translation helpful? Give feedback.
All reactions