]> git.openstreetmap.org Git - rails.git/blobdiff - app/helpers/user_mailer_helper.rb
Add default browse icons for nodes, ways, relations
[rails.git] / app / helpers / user_mailer_helper.rb
index e5d6e39aca4a6259f95a92c1ed2c873d63877ed0..d47827074afd0c939facc643d5b246e5233df517 100644 (file)
@@ -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