summaryrefslogtreecommitdiff
path: root/app/models/blob_viewer/csv.rb
diff options
context:
space:
mode:
Diffstat (limited to 'app/models/blob_viewer/csv.rb')
-rw-r--r--app/models/blob_viewer/csv.rb13
1 files changed, 13 insertions, 0 deletions
diff --git a/app/models/blob_viewer/csv.rb b/app/models/blob_viewer/csv.rb
new file mode 100644
index 00000000000..633e3bd63d8
--- /dev/null
+++ b/app/models/blob_viewer/csv.rb
@@ -0,0 +1,13 @@
+# frozen_string_literal: true
+
+module BlobViewer
+ class CSV < Base
+ include Rich
+ include ClientSide
+
+ self.binary = false
+ self.extensions = %w(csv)
+ self.partial_name = 'csv'
+ self.switcher_icon = 'table'
+ end
+end