Commit 1b4b35f7 authored by Heinrich Lee Yu's avatar Heinrich Lee Yu

Merge branch 'jira-commit-link' into 'master'

Return commit url instead of commits url

Closes #36630

See merge request gitlab-org/gitlab!20369
parents b6bcd767 ee5971fa
---
title: Return project commit url instead of commits url
merge_request: 20369
author: raju249
type: added
...@@ -31,7 +31,7 @@ module Atlassian ...@@ -31,7 +31,7 @@ module Atlassian
expose :created_at, as: :authorTimestamp expose :created_at, as: :authorTimestamp
expose :url do |commit, options| expose :url do |commit, options|
project_commits_url(options[:project], commit.id) project_commit_url(options[:project], commit.id)
end end
private 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