Commit 3d77183c authored by Dmitriy Zaporozhets's avatar Dmitriy Zaporozhets

Fix encoding issues for compare view

parent 422e4398
......@@ -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
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment