Apply IndentationConsistency rubocop rule

This commit is contained in:
Javi Martín
2019-06-18 02:34:40 +02:00
parent e252d82cdb
commit 47b2c42a1d
36 changed files with 425 additions and 425 deletions

View File

@@ -129,16 +129,16 @@ class Mailer < ApplicationMailer
private
def with_user(user, &block)
I18n.with_locale(user.locale) do
yield
def with_user(user, &block)
I18n.with_locale(user.locale) do
yield
end
end
end
def prevent_delivery_to_users_without_email
if @email_to.blank?
mail.perform_deliveries = false
def prevent_delivery_to_users_without_email
if @email_to.blank?
mail.perform_deliveries = false
end
end
end
end