From 795cc9b7161b3c2e580075a88d7b53ef95e3f883 Mon Sep 17 00:00:00 2001 From: Peter Gonda Date: Fri, 14 Sep 2012 15:57:25 +0200 Subject: [PATCH] Repaired Get patch --- app/controllers/commits_controller.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/controllers/commits_controller.rb b/app/controllers/commits_controller.rb index 4ab40c30..6d3f1aea 100644 --- a/app/controllers/commits_controller.rb +++ b/app/controllers/commits_controller.rb @@ -64,7 +64,7 @@ class CommitsController < ApplicationController @commit.to_patch, type: "text/plain", disposition: 'attachment', - filename: "#{@commit.id.patch}" + filename: "#{@commit.id}.patch" ) end