Closed yshmarov closed 5 months ago
Thank you. Closing this and updating the README manually
maybe it is worth mentioning that we need to add
add_flash_types :error
in application controller
Is this not already configured in Rails? I've never seen this before
No, Rails only includes :alert
and :notice
out of the box.
If we want other types, we need to add it with add_flash_types
Ha! TIL.
I suggest we use :alert
instead then?
Yeah, it is more simple to use :alert
might be also worth adding this in the readme: