Clean up indenting in new observer.

This commit is contained in:
Robb Kidd 2012-10-11 11:05:13 -04:00
parent 16ceae895e
commit d32a5d7eef

View file

@ -21,11 +21,11 @@ class MergeRequestObserver < ActiveRecord::Observer
protected
def send_reassigned_email(merge_request)
recipients_ids = merge_request.assignee_id_was, merge_request.assignee_id
recipients_ids.delete current_user.id
recipients_ids = merge_request.assignee_id_was, merge_request.assignee_id
recipients_ids.delete current_user.id
recipients_ids.each do |recipient_id|
Notify.reassigned_merge_request_email(recipient_id, merge_request.id, merge_request.assignee_id_was).deliver
end
recipients_ids.each do |recipient_id|
Notify.reassigned_merge_request_email(recipient_id, merge_request.id, merge_request.assignee_id_was).deliver
end
end
end