@@ -100,7 +100,7 class MailHandler < ActionMailer::Base | |||
|
100 | 100 | elsif m = email.subject.match(MESSAGE_REPLY_SUBJECT_RE) |
|
101 | 101 | receive_message_reply(m[1].to_i) |
|
102 | 102 | else |
|
103 | receive_issue | |
|
103 | dispatch_to_default | |
|
104 | 104 | end |
|
105 | 105 | rescue ActiveRecord::RecordInvalid => e |
|
106 | 106 | # TODO: send a email to the user |
@@ -113,6 +113,10 class MailHandler < ActionMailer::Base | |||
|
113 | 113 | logger.error "MailHandler: unauthorized attempt from #{user}" if logger |
|
114 | 114 | false |
|
115 | 115 | end |
|
116 | ||
|
117 | def dispatch_to_default | |
|
118 | receive_issue | |
|
119 | end | |
|
116 | 120 | |
|
117 | 121 | # Creates a new issue |
|
118 | 122 | def receive_issue |
General Comments 0
You need to be logged in to leave comments.
Login now