Fix mistake in reference_jira_issue method

Use local variable instead global
This commit is contained in:
Andrew Kumanyaev 2014-06-18 11:11:09 +04:00
parent e44e2316c3
commit 45f9d15c0e

View file

@ -228,7 +228,7 @@ module Gitlab
def reference_jira_issue(identifier, project = @project)
url = url_for_issue(identifier)
title = Gitlab.config.issues_tracker[@project.issues_tracker]["title"]
title = Gitlab.config.issues_tracker[project.issues_tracker]["title"]
options = html_options.merge(
title: "Issue in #{title}",