Rubocop autocorrect Performance/RedundantBlockCall issue and remove it from rubocop_todo list

This commit is contained in:
Bertocq
2017-06-16 00:30:36 +02:00
parent c88d822330
commit f6863f5ea0
2 changed files with 1 additions and 7 deletions

View File

@@ -113,7 +113,7 @@ class Mailer < ApplicationMailer
def with_user(user, &block)
I18n.with_locale(user.locale) do
block.call
yield
end
end
end