Fix encoding issues for compare view
This commit is contained in:
parent
422e43989b
commit
3d77183c16
|
@ -52,7 +52,7 @@ class CommitsController < ApplicationController
|
|||
|
||||
@commits = project.repo.commits_between(younger.id, older.id).map {|c| Commit.new(c)}
|
||||
@diffs = project.repo.diff(younger.id, older.id) rescue []
|
||||
@commit = older
|
||||
@commit = Commit.new(older)
|
||||
end
|
||||
end
|
||||
end
|
||||
|
|
Loading…
Reference in a new issue