X-Git-Url: https://git.openstreetmap.org/rails.git/blobdiff_plain/ac081305f24453b576d826f0b85a851e0e8506e2..774e583b20555c4ad9f676a6321169ff3482980a:/app/helpers/notifier_helper.rb?ds=sidebyside diff --git a/app/helpers/notifier_helper.rb b/app/helpers/notifier_helper.rb index 62801ed82..5889b6ff8 100644 --- a/app/helpers/notifier_helper.rb +++ b/app/helpers/notifier_helper.rb @@ -11,4 +11,11 @@ module NotifierHelper :style => "text-decoration: none; color: #222; font-weight: bold" ) end + + def message_body(&block) + render( + :partial => "message_body", + :locals => { :body => capture(&block) } + ) + end end