Make rubocop happy.

This commit is contained in:
Guo Xiang Tan 2018-03-12 09:48:41 +08:00
parent ed08bc82f1
commit 74ce2220a7
1 changed files with 1 additions and 1 deletions

View File

@ -435,7 +435,7 @@ class UserNotifications < ActionMailer::Base
if post.topic.private_message?
subject_pm =
if opts[:show_group_in_subject] and group = post.topic.allowed_groups&.first
if opts[:show_group_in_subject] && group = post.topic.allowed_groups&.first
if group.full_name
"[#{group.full_name}] "
else