openstreetmap-website/app/controllers
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
..
api Add tests for routing and to ensure output format 2021-04-14 16:11:57 +01:00
concerns Move confirmation methods into ConfirmationsController 2021-04-07 16:05:32 +01:00
api_controller.rb Fix new rubocop warnings 2020-09-16 08:28:25 +01:00
application_controller.rb Fix deprecation warnings 2021-05-12 18:49:21 +01:00
browse_controller.rb Prefer keyword arguments when method has optional boolean arguments 2020-11-12 11:24:44 +00:00
changeset_comments_controller.rb Prefer keyword arguments when method has optional boolean arguments 2020-11-12 11:24:44 +00:00
changesets_controller.rb Prefer keyword arguments when method has optional boolean arguments 2020-11-12 11:24:44 +00:00
confirmations_controller.rb Use hash-based flash objects to render complex flash messages 2021-06-23 20:10:55 +01:00
diary_entries_controller.rb Rename Notifier to UserMailer 2020-10-14 15:04:58 +02:00
directions_controller.rb Use CanCanCan for directions controller 2019-01-09 10:12:14 +01:00
errors_controller.rb Skip authorization checks for the errors controller 2019-01-16 11:44:55 +01:00
export_controller.rb Fix new rubocop warnings 2020-08-06 18:42:16 +01:00
friendships_controller.rb Add rate limiting to user friendships 2021-05-11 12:10:36 +01:00
geocoder_controller.rb Fix new rubocop warnings 2021-01-11 19:17:31 +00:00
issue_comments_controller.rb Remove custom deny_access handlers 2018-11-14 14:10:51 +01:00
issues_controller.rb Set updated_by when resolving issues 2021-06-09 15:47:31 +01:00
messages_controller.rb Add additional limits on sending messages 2021-03-31 22:40:34 +01:00
notes_controller.rb Rename the notes#mine action to index 2020-07-08 18:43:30 +02:00
oauth_clients_controller.rb Use CanCanCan for oauth clients controller 2019-01-09 15:34:54 +01:00
oauth_controller.rb Move all settings to settings.yml 2019-03-13 18:06:23 +01:00
passwords_controller.rb Split password reset functionality into PasswordsController 2021-04-07 16:05:28 +01:00
redactions_controller.rb Fix new rubocop warnings 2021-01-11 19:17:31 +00:00
reports_controller.rb Fix new rubocop warnings 2019-07-18 16:47:08 +01:00
sessions_controller.rb Add missing callbacks to session controller 2021-03-29 20:36:07 +01:00
site_controller.rb Remove both Potlatch versions 2021-01-05 21:18:45 +00:00
traces_controller.rb Traces#index: Introduce tab navigation, fix tag-filter 2021-06-16 15:55:55 +01:00
user_blocks_controller.rb Prevent CSRF bypass unblocking users 2021-02-09 20:39:04 +00:00
user_roles_controller.rb Use CanCanCan for user_roles auth 2018-11-28 21:39:26 +01:00
users_controller.rb Move confirmation methods into ConfirmationsController 2021-04-07 16:05:32 +01:00