summaryrefslogtreecommitdiffstats
path: root/app/controllers/mail_handler_controller.rb
diff options
context:
space:
mode:
authorJean-Philippe Lang <jp_lang@yahoo.fr>2015-06-15 21:47:22 +0000
committerJean-Philippe Lang <jp_lang@yahoo.fr>2015-06-15 21:47:22 +0000
commit95f7471e9c786a7cf5700f6b078ed62ca0cf264e (patch)
tree6edc607d2cfafe012a28d404cbe1a74f10efb40c /app/controllers/mail_handler_controller.rb
parent3ae42cb32617670cb6c99a60f5cda2cf961d110c (diff)
downloadredmine-95f7471e9c786a7cf5700f6b078ed62ca0cf264e.tar.gz
redmine-95f7471e9c786a7cf5700f6b078ed62ca0cf264e.zip
Adds a form to manually submit an email to the mail handler.
Use GET /mail_handler?key= to get the form. git-svn-id: http://svn.redmine.org/redmine/trunk@14314 e93f8b46-1217-0410-a6f0-8f06a7374b81
Diffstat (limited to 'app/controllers/mail_handler_controller.rb')
-rw-r--r--app/controllers/mail_handler_controller.rb4
1 files changed, 4 insertions, 0 deletions
diff --git a/app/controllers/mail_handler_controller.rb b/app/controllers/mail_handler_controller.rb
index 11cf40009..53d37ae7d 100644
--- a/app/controllers/mail_handler_controller.rb
+++ b/app/controllers/mail_handler_controller.rb
@@ -18,6 +18,10 @@
class MailHandlerController < ActionController::Base
before_filter :check_credential
+ # Displays the email submission form
+ def new
+ end
+
# Submits an incoming email to MailHandler
def index
options = params.dup