summaryrefslogtreecommitdiffstats
path: root/app
diff options
context:
space:
mode:
authorJean-Philippe Lang <jp_lang@yahoo.fr>2016-06-18 07:07:41 +0000
committerJean-Philippe Lang <jp_lang@yahoo.fr>2016-06-18 07:07:41 +0000
commitffdcb22ccb785a1efad942c250267c181d84c7df (patch)
tree25bf72a6c084254ffd50b000c28f3ed2cc6be2d8 /app
parent93afc01e06abadd1330851d2ddf1122640144d2c (diff)
downloadredmine-ffdcb22ccb785a1efad942c250267c181d84c7df.tar.gz
redmine-ffdcb22ccb785a1efad942c250267c181d84c7df.zip
Ability to define a default assigned_to when receiving emails (#23020).
git-svn-id: http://svn.redmine.org/redmine/trunk@15547 e93f8b46-1217-0410-a6f0-8f06a7374b81
Diffstat (limited to 'app')
-rw-r--r--app/models/mail_handler.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/app/models/mail_handler.rb b/app/models/mail_handler.rb
index a619f115d..28841310e 100644
--- a/app/models/mail_handler.rb
+++ b/app/models/mail_handler.rb
@@ -62,7 +62,7 @@ class MailHandler < ActionMailer::Base
# Use when receiving emails with rake tasks
def self.extract_options_from_env(env)
options = {:issue => {}}
- %w(project status tracker category priority fixed_version).each do |option|
+ %w(project status tracker category priority assigned_to fixed_version).each do |option|
options[:issue][option.to_sym] = env[option] if env[option]
end
%w(allow_override unknown_user no_permission_check no_account_notice default_group project_from_subaddress).each do |option|