]> git.openstreetmap.org Git - rails.git/blobdiff - app/views/user_mailer/message_notification.html.erb
Fix erblint errors from the Rails/ContentTag cop
[rails.git] / app / views / user_mailer / message_notification.html.erb
index 74d10f599be967370ce81ea41afc9eb34edeb1f4..a39a3fe5d1825b5cef527a10ded387f82e68f76c 100644 (file)
@@ -2,9 +2,9 @@
   <%= t ".hi", :to_user => @to_user %>
 </p>
 <p>
-  <%= raw t ".header",
-            :from_user => link_to_user(@from_user),
-            :subject => tag.em(@title) %>
+  <%= t ".header_html",
+        :from_user => link_to_user(@from_user),
+        :subject => tag.em(@title) %>
 </p>
 
 <%= message_body do %>
@@ -14,7 +14,7 @@
 <% content_for :footer do %>
   <p>
     <%= t ".footer_html",
-          :readurl => link_to(@readurl, @readurl) + tag(:br),
+          :readurl => link_to(@readurl, @readurl) + tag.br,
           :replyurl => link_to(@replyurl, @replyurl) %>
   </p>
 <% end %>