Commit 72184c16 authored by Lin Jen-Shin's avatar Lin Jen-Shin

Rename to project_path which is more accurate

parent c55eebb2
......@@ -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
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment