X-Git-Url: https://git.openstreetmap.org./rails.git/blobdiff_plain/466de96a91ece362400ec7ffe73ed243f9ce3067..00270dd86ee4116a931074c1145663ca74fe405a:/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