Rename to project_path which is more accurate
This commit is contained in:
parent
c55eebb283
commit
72184c16ab
1 changed files with 3 additions and 3 deletions
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue