]> git.openstreetmap.org Git - rails.git/commit
Fix missing html layout for user_mailer emails
authorAndy Allan <git@gravitystorm.co.uk>
Wed, 11 Nov 2020 11:19:20 +0000 (11:19 +0000)
committerAndy Allan <git@gravitystorm.co.uk>
Wed, 11 Nov 2020 11:19:20 +0000 (11:19 +0000)
commit01b72f7adf2b46741f30b7c15ec72fc4e96338d7
tree16b7f60f595699856c9fa48a1c7f4f88577b857d
parentb1d8d735250bb235ef2da40cfffe9ca345476dcf
Fix missing html layout for user_mailer emails

This was caused by renaming the mailer without renaming the layout. Added a test to cover this in future.

Fixes #2903
app/views/layouts/user_mailer.html.erb [moved from app/views/layouts/notifier.html.erb with 100% similarity]
test/mailers/user_mailer_test.rb [new file with mode: 0644]