Skip to content
Snippets Groups Projects
Commit 72184c16 authored by Lin Jen-Shin's avatar Lin Jen-Shin
Browse files

Rename to project_path which is more accurate

parent c55eebb2
No related branches found
No related tags found
1 merge request!3363Implement #3243 New Issue by email
Loading
Loading
@@ -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
 
Loading
Loading
@@ -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
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment