Repaired Get patch

This commit is contained in:
Peter Gonda 2012-09-14 15:57:25 +02:00
parent 3ecc4df4b3
commit 795cc9b716

View file

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