summaryrefslogtreecommitdiff
path: root/app/controllers/commit_controller.rb
diff options
context:
space:
mode:
authorRiyad Preukschas <riyad@informatik.uni-bremen.de>2012-11-22 12:45:39 +0100
committerRiyad Preukschas <riyad@informatik.uni-bremen.de>2012-11-22 12:45:39 +0100
commit6ddf4567f43497a10e7faddf98d0a5d467bf043c (patch)
tree12e98fe084d6104767f005a58bee96d29b799030 /app/controllers/commit_controller.rb
parent9e8aadb0f06f16248f82ae948ed7f875f8c0e2f2 (diff)
downloadgitlab-ce-6ddf4567f43497a10e7faddf98d0a5d467bf043c.tar.gz
Don't escape Html in patches
Fixes #2036
Diffstat (limited to 'app/controllers/commit_controller.rb')
-rw-r--r--app/controllers/commit_controller.rb2
1 files changed, 1 insertions, 1 deletions
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