From: Herve Saint-Amand Date: Mon, 16 Jan 2017 23:12:59 +0000 (+0000) Subject: Rubocop says to use "hash rockets" X-Git-Tag: live~3608^2~7 X-Git-Url: https://git.openstreetmap.org/rails.git/commitdiff_plain/774e583b20555c4ad9f676a6321169ff3482980a?ds=sidebyside Rubocop says to use "hash rockets" Rubocop will have its way. --- diff --git a/app/helpers/notifier_helper.rb b/app/helpers/notifier_helper.rb index 0510ae0a8..5889b6ff8 100644 --- a/app/helpers/notifier_helper.rb +++ b/app/helpers/notifier_helper.rb @@ -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