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 | 52 | |
| 53 | 53 | @commits = project.repo.commits_between(younger.id, older.id).map {|c| Commit.new(c)} |
| 54 | 54 | @diffs = project.repo.diff(younger.id, older.id) rescue [] |
| 55 | - @commit = older | |
| 55 | + @commit = Commit.new(older) | |
| 56 | 56 | end |
| 57 | 57 | end |
| 58 | 58 | end | ... | ... |