]> git.openstreetmap.org Git - rails.git/commitdiff
Rubocop says to use "hash rockets"
authorHerve Saint-Amand <git@saintamh.org>
Mon, 16 Jan 2017 23:12:59 +0000 (23:12 +0000)
committerHerve Saint-Amand <git@saintamh.org>
Mon, 16 Jan 2017 23:12:59 +0000 (23:12 +0000)
Rubocop will have its way.

app/helpers/notifier_helper.rb

index 0510ae0a89280dc97d5bb3ef0c2eb2e21d54ea36..5889b6ff827223c46a213bc2c345ad4f9c330713 100644 (file)
@@ -14,8 +14,8 @@ module NotifierHelper
 
   def message_body(&block)
     render(
-      partial: "message_body",
-      locals: { body: capture(&block) }
+      :partial => "message_body",
+      :locals => { :body => capture(&block) }
     )
   end
 end