Commit 795cc9b7161b3c2e580075a88d7b53ef95e3f883

Authored by Peter Gonda
1 parent 3ecc4df4

Repaired Get patch

Showing 1 changed file with 1 additions and 1 deletions   Show diff stats
app/controllers/commits_controller.rb
@@ -64,7 +64,7 @@ class CommitsController < ApplicationController @@ -64,7 +64,7 @@ class CommitsController < ApplicationController
64 @commit.to_patch, 64 @commit.to_patch,
65 type: "text/plain", 65 type: "text/plain",
66 disposition: 'attachment', 66 disposition: 'attachment',
67 - filename: "#{@commit.id.patch}" 67 + filename: "#{@commit.id}.patch"
68 ) 68 )
69 end 69 end
70 70