diff options
author | Douwe Maan <douwe@selenight.nl> | 2016-01-28 14:49:21 +0100 |
---|---|---|
committer | Douwe Maan <douwe@selenight.nl> | 2016-01-28 14:49:21 +0100 |
commit | b636f83e5910d10a954464370efe42cc14a097ba (patch) | |
tree | 25576ef4d66cff8d40cba4004302a178bfc2ec4e /app/views/projects/blame | |
parent | 4be80f8aa3c585882b4499d6d69dcbf4a97eff29 (diff) | |
download | gitlab-ce-b636f83e5910d10a954464370efe42cc14a097ba.tar.gz |
Move blame group logic to dedicated class
Diffstat (limited to 'app/views/projects/blame')
-rw-r--r-- | app/views/projects/blame/show.html.haml | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/app/views/projects/blame/show.html.haml b/app/views/projects/blame/show.html.haml index aecdec32d00..eb6fbfaffa0 100644 --- a/app/views/projects/blame/show.html.haml +++ b/app/views/projects/blame/show.html.haml @@ -15,11 +15,11 @@ .file-content.blame.code.js-syntax-highlight %table - current_line = 1 - - @blame.each do |blame_group| + - @blame_groups.each do |blame_group| %tr %td.blame-commit .commit - - commit = Commit.new(blame_group[:commit], @project) + - commit = blame_group[:commit] .commit-row-title %strong = link_to_gfm truncate(commit.title, length: 35), namespace_project_commit_path(@project.namespace, @project, commit.id), class: "cdark" |