summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLin Jen-Shin <godfat@godfat.org>2016-06-15 16:16:44 +0800
committerLin Jen-Shin <godfat@godfat.org>2016-06-15 16:16:44 +0800
commit3b64c4f9d625d307ff5c0d10beb0b6b42c0a1e9c (patch)
tree1b0ac6ec781da740c642081fe8a18eafd881126e
parent4c098714504b5cc5693adac49ca28370e89d0643 (diff)
downloadgitlab-ce-3b64c4f9d625d307ff5c0d10beb0b6b42c0a1e9c.tar.gz
A blank line to separate exception raising
-rw-r--r--lib/gitlab/email/handler/create_issue_handler.rb1
1 files changed, 1 insertions, 0 deletions
diff --git a/lib/gitlab/email/handler/create_issue_handler.rb b/lib/gitlab/email/handler/create_issue_handler.rb
index 638766cca2f..d2997e73455 100644
--- a/lib/gitlab/email/handler/create_issue_handler.rb
+++ b/lib/gitlab/email/handler/create_issue_handler.rb
@@ -19,6 +19,7 @@ module Gitlab
def execute
raise ProjectNotFound unless project
+
validate_permission!(:create_issue)
verify_record!(