summaryrefslogtreecommitdiff
path: root/app/models/snippet_blob.rb
diff options
context:
space:
mode:
Diffstat (limited to 'app/models/snippet_blob.rb')
-rw-r--r--app/models/snippet_blob.rb4
1 files changed, 4 insertions, 0 deletions
diff --git a/app/models/snippet_blob.rb b/app/models/snippet_blob.rb
index cf1ab089829..bad24cc45f6 100644
--- a/app/models/snippet_blob.rb
+++ b/app/models/snippet_blob.rb
@@ -21,6 +21,10 @@ class SnippetBlob
data.bytesize
end
+ def commit_id
+ nil
+ end
+
def data
snippet.content
end