summaryrefslogtreecommitdiff
path: root/app/models/blob_viewer/svg.rb
diff options
context:
space:
mode:
Diffstat (limited to 'app/models/blob_viewer/svg.rb')
-rw-r--r--app/models/blob_viewer/svg.rb12
1 files changed, 12 insertions, 0 deletions
diff --git a/app/models/blob_viewer/svg.rb b/app/models/blob_viewer/svg.rb
new file mode 100644
index 00000000000..b7e5cd71e6b
--- /dev/null
+++ b/app/models/blob_viewer/svg.rb
@@ -0,0 +1,12 @@
+module BlobViewer
+ class SVG < Base
+ include Rich
+ include ServerSide
+
+ self.partial_name = 'svg'
+ self.extensions = %w(svg)
+ self.binary = false
+ self.switcher_icon = 'picture-o'
+ self.switcher_title = 'image'
+ end
+end