Commit 3d77183c160c57f51f1908bd57312344e34c8524
1 parent
422e4398
Exists in
master
and in
4 other branches
Fix encoding issues for compare view
Showing
1 changed file
with
1 additions
and
1 deletions
Show diff stats
app/controllers/commits_controller.rb
@@ -52,7 +52,7 @@ class CommitsController < ApplicationController | @@ -52,7 +52,7 @@ class CommitsController < ApplicationController | ||
52 | 52 | ||
53 | @commits = project.repo.commits_between(younger.id, older.id).map {|c| Commit.new(c)} | 53 | @commits = project.repo.commits_between(younger.id, older.id).map {|c| Commit.new(c)} |
54 | @diffs = project.repo.diff(younger.id, older.id) rescue [] | 54 | @diffs = project.repo.diff(younger.id, older.id) rescue [] |
55 | - @commit = older | 55 | + @commit = Commit.new(older) |
56 | end | 56 | end |
57 | end | 57 | end |
58 | end | 58 | end |