Fix Rubocop offences (#2630)
* disable Bundler/OrderedGems * fix rubocop Lint/UselessAssignment * fix rubocop Style/BlockDelimiters * fix rubocop Style/AlignHash * fix rubocop Style/AlignParameters, Style/EachWithObject * fix rubocop Style/SpaceInLambdaLiteral
This commit is contained in:
parent
1899cf5f04
commit
3988f2dade
6 changed files with 19 additions and 16 deletions
|
@ -60,11 +60,11 @@ class NotificationMailer < ApplicationMailer
|
|||
|
||||
I18n.with_locale(@me.user.locale || I18n.default_locale) do
|
||||
mail to: @me.user.email,
|
||||
subject: I18n.t(
|
||||
:subject,
|
||||
scope: [:notification_mailer, :digest],
|
||||
count: @notifications.size
|
||||
)
|
||||
subject: I18n.t(
|
||||
:subject,
|
||||
scope: [:notification_mailer, :digest],
|
||||
count: @notifications.size
|
||||
)
|
||||
end
|
||||
end
|
||||
end
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue