summaryrefslogtreecommitdiff
path: root/app/models/commit.rb
diff options
context:
space:
mode:
authorKamil Trzcinski <ayufan@ayufan.eu>2017-02-06 16:06:44 +0100
committerKamil Trzcinski <ayufan@ayufan.eu>2017-02-06 16:06:44 +0100
commita8825f0c7fb5da6a047813a491e6b8aebc33bb5b (patch)
tree4b676823f617ae696b11f606272c139d7007960b /app/models/commit.rb
parent3cd17c9430c7575b0c1f1041947f3cd0d991f00c (diff)
parente438b30a315e092e03afa9d84f8a9e57ded3b0a2 (diff)
downloadgitlab-ce-a8825f0c7fb5da6a047813a491e6b8aebc33bb5b.tar.gz
Merge remote-tracking branch 'origin/master' into 24147-delete-env-button
Diffstat (limited to 'app/models/commit.rb')
-rw-r--r--app/models/commit.rb4
1 files changed, 2 insertions, 2 deletions
diff --git a/app/models/commit.rb b/app/models/commit.rb
index 316bd2e512b..46f06733da1 100644
--- a/app/models/commit.rb
+++ b/app/models/commit.rb
@@ -100,8 +100,8 @@ class Commit
commit_reference(from_project, id, full: full)
end
- def reference_link_text(from_project = nil)
- commit_reference(from_project, short_id)
+ def reference_link_text(from_project = nil, full: false)
+ commit_reference(from_project, short_id, full: full)
end
def diff_line_count