Rubocop says to use "hash rockets"
[rails.git] / app / helpers / notifier_helper.rb
index 62801ed82394ce45ab7aa9f20784b0aa4f8c3eb9..5889b6ff827223c46a213bc2c345ad4f9c330713 100644 (file)
@@ -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