Commit 8f9a450e authored by Dmitriy Zaporozhets's avatar Dmitriy Zaporozhets

Merge pull request #1462 from pipozzz/master

Repaired Get patch
parents 3ecc4df4 795cc9b7
...@@ -64,7 +64,7 @@ class CommitsController < ApplicationController ...@@ -64,7 +64,7 @@ class CommitsController < ApplicationController
@commit.to_patch, @commit.to_patch,
type: "text/plain", type: "text/plain",
disposition: 'attachment', disposition: 'attachment',
filename: "#{@commit.id.patch}" filename: "#{@commit.id}.patch"
) )
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