From 6ddf4567f43497a10e7faddf98d0a5d467bf043c Mon Sep 17 00:00:00 2001 From: Riyad Preukschas Date: Thu, 22 Nov 2012 12:45:39 +0100 Subject: Don't escape Html in patches Fixes #2036 --- app/controllers/commit_controller.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'app/controllers/commit_controller.rb') diff --git a/app/controllers/commit_controller.rb b/app/controllers/commit_controller.rb index 97998352255..50556954817 100644 --- a/app/controllers/commit_controller.rb +++ b/app/controllers/commit_controller.rb @@ -26,7 +26,7 @@ class CommitController < ProjectResourceController end end - format.patch + format.patch { render text: @commit.to_patch } end end end -- cgit v1.2.1