X-Git-Url: https://git.openstreetmap.org./rails.git/blobdiff_plain/466de96a91ece362400ec7ffe73ed243f9ce3067..721f8e00b287974d6346e3c62bb8d0d599cc7db3:/app/helpers/user_mailer_helper.rb diff --git a/app/helpers/user_mailer_helper.rb b/app/helpers/user_mailer_helper.rb index e5d6e39ac..d47827074 100644 --- a/app/helpers/user_mailer_helper.rb +++ b/app/helpers/user_mailer_helper.rb @@ -18,10 +18,10 @@ module UserMailerHelper ) end - def message_body(&block) + def message_body(&) render( :partial => "message_body", - :locals => { :body => capture(&block) } + :locals => { :body => capture(&) } ) end