Commit 8f9a450eedc5b5fc13e24788ab67f2de928dd83a

Authored by Dmitriy Zaporozhets
2 parents 3ecc4df4 795cc9b7

Merge pull request #1462 from pipozzz/master

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