This allows us to enable output safety checks for all code within erb files.
`rubocop --auto-gen-config` ignores code within the erb files, so it is easier to maintain an exclusion on the helper than inside the layout. You can view, comment on, or merge this pull request online at: https://github.com/openstreetmap/openstreetmap-website/pull/5358 -- Commit Summary -- * Move html_safe declaration for user_mailer from layout to helper -- File Changes -- M .erb_lint.yml (2) M .rubocop_todo.yml (1) M app/helpers/user_mailer_helper.rb (2) M app/views/layouts/user_mailer.html.erb (2) -- Patch Links -- https://github.com/openstreetmap/openstreetmap-website/pull/5358.patch https://github.com/openstreetmap/openstreetmap-website/pull/5358.diff -- Reply to this email directly or view it on GitHub: https://github.com/openstreetmap/openstreetmap-website/pull/5358 You are receiving this because you are subscribed to this thread. Message ID: <openstreetmap/openstreetmap-website/pull/5...@github.com>
_______________________________________________ rails-dev mailing list rails-dev@openstreetmap.org https://lists.openstreetmap.org/listinfo/rails-dev