BigW Consortium Gitlab

Commit 45f9d15c by Andrew Kumanyaev

Fix mistake in reference_jira_issue method

Use local variable instead global
parent e44e2316
......@@ -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}",
......
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