Remove unused block parameters

We're using `yield` in the method body.
This commit is contained in:
Javi Martín
2019-09-28 21:53:22 +02:00
parent 2fed7b9db3
commit 9c3686a6d8
3 changed files with 4 additions and 4 deletions

View File

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