From 628d05629b734371d3e850a95dadf0be30c5ef20 Mon Sep 17 00:00:00 2001 From: Jean-Philippe Lang Date: Sat, 13 Jul 2013 09:20:11 +0000 Subject: Role-based issue custom field visibility (#5037). git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@12012 e93f8b46-1217-0410-a6f0-8f06a7374b81 --- app/models/issue_observer.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'app/models/issue_observer.rb') diff --git a/app/models/issue_observer.rb b/app/models/issue_observer.rb index a75194286..58b636031 100644 --- a/app/models/issue_observer.rb +++ b/app/models/issue_observer.rb @@ -17,6 +17,6 @@ class IssueObserver < ActiveRecord::Observer def after_create(issue) - Mailer.issue_add(issue).deliver if Setting.notified_events.include?('issue_added') + Mailer.deliver_issue_add(issue) if Setting.notified_events.include?('issue_added') end end -- cgit v1.2.3