From 4f9364facf08fe60f7eae7314bf04bdfffd5dc06 Mon Sep 17 00:00:00 2001 From: Petko Bordjukov Date: Sun, 25 Oct 2015 23:28:42 +0200 Subject: [PATCH] Do not spam the orga team for new volunteer --- app/models/volunteer.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/models/volunteer.rb b/app/models/volunteer.rb index 9848efd..320d1ea 100644 --- a/app/models/volunteer.rb +++ b/app/models/volunteer.rb @@ -19,7 +19,7 @@ class Volunteer < ActiveRecord::Base has_and_belongs_to_many :volunteer_teams before_create :assign_unique_id - after_create :send_notification_to_organizers + #after_create :send_notification_to_organizers after_create :send_notification_to_volunteer private