From 56c5fa08ac5720a83c33d3b4be09d4291e0c3847 Mon Sep 17 00:00:00 2001 From: kgalli Date: Fri, 20 Mar 2015 18:05:02 +0000 Subject: [PATCH] Refactoring: replacement of `and` with `&&` --- app/controllers/meeting_contents_controller.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/controllers/meeting_contents_controller.rb b/app/controllers/meeting_contents_controller.rb index c6f630a1ad..9ce8148619 100644 --- a/app/controllers/meeting_contents_controller.rb +++ b/app/controllers/meeting_contents_controller.rb @@ -90,7 +90,7 @@ class MeetingContentsController < ApplicationController recipients_with_errors = [] @content.meeting.participants.each do |recipient| begin - next if recipient.mail == author_mail and do_not_notify_author + next if recipient.mail == author_mail && do_not_notify_author MeetingMailer.content_for_review(@content, @content_type, recipient.mail).deliver rescue recipients_with_errors << recipient