Fix encoding issues for compare view

This commit is contained in:
Dmitriy Zaporozhets 2012-02-07 19:21:16 +02:00
parent 422e43989b
commit 3d77183c16

View file

@ -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