Commit b51992ee authored by Vijay Hawoldar's avatar Vijay Hawoldar

Remove unused Snippets#content_types method

parent 328d1b1e
......@@ -188,14 +188,6 @@ class Snippet < ApplicationRecord
end
end
def self.content_types
[
".rb", ".py", ".pl", ".scala", ".c", ".cpp", ".java",
".haml", ".html", ".sass", ".scss", ".xml", ".php", ".erb",
".js", ".sh", ".coffee", ".yml", ".md"
]
end
def blob
@blob ||= Blob.decorate(SnippetBlob.new(self), self)
end
......
---
title: Remove unused Snippets#content_types method
merge_request: 26306
author:
type: other
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment