summaryrefslogtreecommitdiff
path: root/app/presenters/snippet_blob_presenter.rb
diff options
context:
space:
mode:
Diffstat (limited to 'app/presenters/snippet_blob_presenter.rb')
-rw-r--r--app/presenters/snippet_blob_presenter.rb6
1 files changed, 0 insertions, 6 deletions
diff --git a/app/presenters/snippet_blob_presenter.rb b/app/presenters/snippet_blob_presenter.rb
index 597ef6ebc39..e9c710e4a0f 100644
--- a/app/presenters/snippet_blob_presenter.rb
+++ b/app/presenters/snippet_blob_presenter.rb
@@ -9,12 +9,6 @@ class SnippetBlobPresenter < BlobPresenter
render_rich_partial
end
- def plain_data
- return if blob.binary?
-
- highlight(plain: false)
- end
-
def raw_path
snippet_blob_raw_route(only_path: true)
end