You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Is there a way to add flash messages to a page? #48
I think the issue is that I am expected to send the alerts / flashes in to the prepare_page call somehow. This doesn't make any sense to me since it should have access to the rodauth.flash.
Activity
pboling commentedon May 1, 2024
In other words, I think there is a bug, or missing documentation. I've tried everything I can think of and I can't get them to render.
pboling commentedon May 13, 2024
So far I have tried setting flash via:
rodauth.flash[:error]rodauth.flash.now[:error]And a bunch of other crazy things...
I think the issue is that I am expected to send the alerts / flashes in to the
prepare_pagecall somehow. This doesn't make any sense to me since it should have access to therodauth.flash.@blocknotes any idea how to use flash?
pboling commentedon May 13, 2024
I have gotten it to work, but it doesn't seem to be the intended way to do it.
become_action_page.rb(simplified example)become_action.rb(simplified example)blocknotes commentedon Jun 10, 2024
Thanks for your feedback @pboling - I'll make some evaluations when possible.