openstreetmap-website/app
Andy Allan 24f6aeda6a Use hash-based flash objects to render complex flash messages
Since flash objects can only be String, Hash or Array (notably excluding SafeBuffers), then this approach is necessary to render complex html in a safe manner.

Each local can be treated as an (unsafe) string, and therefore escaped normally when rendered into the template. The template (and translation strings) can
contain html since they are no longer stored in the flash as a plain string.

Fixes #3215
2021-06-23 20:10:55 +01:00
..
abilities Move confirmation methods into ConfirmationsController 2021-04-07 16:05:32 +01:00
assets add banner for SotM 2021 2021-06-21 21:42:05 +02:00
controllers Use hash-based flash objects to render complex flash messages 2021-06-23 20:10:55 +01:00
helpers Use hash-based flash objects to render complex flash messages 2021-06-23 20:10:55 +01:00
jobs Prefer string interpolation to concatenation 2020-11-13 11:32:28 +00:00
mailers Fix downloading of image variants 2021-05-19 18:44:41 +01:00
models Fix calculation of friendship rate limit 2021-05-11 15:49:48 +01:00
validators Use .add method for adding errors 2021-03-17 17:09:34 +00:00
views Use hash-based flash objects to render complex flash messages 2021-06-23 20:10:55 +01:00