Allow default redirect status value to be configured #1837
Replies: 2 comments 3 replies
-
I haven't messed with this yet, but do you use the Action's lucky/src/lucky/redirectable.cr Line 121 in 10752ad We could make a habitat config in this module though and default it, then you could globally override it. Or did you have something in particular in mind for this? |
Beta Was this translation helpful? Give feedback.
3 replies
-
Implemented with #1838. |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
I'm using htmx in two apps now, and requests from
hx-boost
require 303 redirects after create/update/delete. Right now, I'm passing a modified status everywhere, which is tedious and error-prone. It would be great to be able to define a redirect status globally in the Lucky config.Beta Was this translation helpful? Give feedback.
All reactions