Skip to content
Snippets Groups Projects

Fix mistake in reference_jira_issue method (markdown)

Merged gitlab-qa-bot requested to merge github/fork/zzet/patch-11 into master

Created by: zzet

Use local variable instead global

Merge request reports

Loading
Loading

Activity

Filter activity
  • Approvals
  • Assignees & reviewers
  • Comments (from bots)
  • Comments (from users)
  • Commits & branches
  • Edits
  • Labels
  • Lock status
  • Mentions
  • Merge request status
  • Tracking
228 228
229 229 def reference_jira_issue(identifier, project = @project)
230 230 url = url_for_issue(identifier)
231 title = Gitlab.config.issues_tracker[@project.issues_tracker]["title"]
231 title = Gitlab.config.issues_tracker[project.issues_tracker]["title"]
  • Created by: houndci-bot

    Prefer single-quoted strings when you don't need string interpolation or special symbols.

    By Administrator on 2014-06-18T07:11:32 (imported from GitLab project)

    By Administrator on 2014-06-18T07:11:32 (imported from GitLab)

  • Created by: dzaporozhets

    @zzet thanks

    By Administrator on 2014-06-18T15:13:02 (imported from GitLab project)

    By Administrator on 2014-06-18T15:13:02 (imported from GitLab)

  • Please register or sign in to reply
    Loading