summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLin Jen-Shin <godfat@godfat.org>2016-06-15 15:54:04 +0800
committerLin Jen-Shin <godfat@godfat.org>2016-06-15 15:54:04 +0800
commit72184c16ab3af3279f218d8b7c2b9aae5bc0b4a8 (patch)
treea98190f5c5bd18cfd11f4aedc0def70d7df65db1
parentc55eebb2835d15e618356d94f318eae0573ba95e (diff)
downloadgitlab-ce-72184c16ab3af3279f218d8b7c2b9aae5bc0b4a8.tar.gz
Rename to project_path which is more accurate
-rw-r--r--lib/gitlab/email/handler/create_issue_handler.rb6
1 files changed, 3 insertions, 3 deletions
diff --git a/lib/gitlab/email/handler/create_issue_handler.rb b/lib/gitlab/email/handler/create_issue_handler.rb
index bfc56cb17ff..19c903e56f5 100644
--- a/lib/gitlab/email/handler/create_issue_handler.rb
+++ b/lib/gitlab/email/handler/create_issue_handler.rb
@@ -5,11 +5,11 @@ module Gitlab
module Email
module Handler
class CreateIssueHandler < BaseHandler
- attr_reader :project_namespace, :authentication_token
+ attr_reader :project_path, :authentication_token
def initialize(mail, mail_key)
super(mail, mail_key)
- @project_namespace, @authentication_token =
+ @project_path, @authentication_token =
mail_key && mail_key.split('+', 2)
end
@@ -33,7 +33,7 @@ module Gitlab
end
def project
- @project ||= Project.find_with_namespace(project_namespace)
+ @project ||= Project.find_with_namespace(project_path)
end
private