summaryrefslogtreecommitdiff
path: root/app/models/commit.rb
diff options
context:
space:
mode:
authorOswaldo Ferreira <oswaldo@gitlab.com>2017-01-10 21:53:51 -0200
committerOswaldo Ferreira <oswaldo@gitlab.com>2017-01-27 20:20:18 -0200
commit441501e4bf57e663d8259695845d75b5b6d50684 (patch)
treeeb91433c30debdce13ad8a731d47f3673f81f227 /app/models/commit.rb
parentaeb9db6753cfdd56f82d80c0e2c01f63d65b705d (diff)
downloadgitlab-ce-441501e4bf57e663d8259695845d75b5b6d50684.tar.gz
Present TODO's list without grouping by project
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