Don't escape Html in patches

Fixes #2036
This commit is contained in:
Riyad Preukschas 2012-11-22 12:45:39 +01:00
parent 9e8aadb0f0
commit 6ddf4567f4
2 changed files with 1 additions and 2 deletions

View file

@ -26,7 +26,7 @@ class CommitController < ProjectResourceController
end
end
format.patch
format.patch { render text: @commit.to_patch }
end
end
end

View file

@ -1 +0,0 @@
<%= @commit.to_patch %>