summaryrefslogtreecommitdiff
path: root/app/models/commit.rb
diff options
context:
space:
mode:
Diffstat (limited to 'app/models/commit.rb')
-rw-r--r--app/models/commit.rb1
1 files changed, 1 insertions, 0 deletions
diff --git a/app/models/commit.rb b/app/models/commit.rb
index 09635d0e21c..800ad19b9f1 100644
--- a/app/models/commit.rb
+++ b/app/models/commit.rb
@@ -19,6 +19,7 @@ class Commit
:diffs,
:tree,
:id,
+ :to_patch,
:to => :commit