summaryrefslogtreecommitdiff
path: root/app/models/blob_viewer
diff options
context:
space:
mode:
authorLuke "Jared" Bennett <lbennett@gitlab.com>2017-04-28 11:32:56 +0100
committerLuke "Jared" Bennett <lbennett@gitlab.com>2017-04-28 11:32:56 +0100
commit817aa1b1160bcc1f3be828ad3c0c66fe403e2557 (patch)
tree383539d96317414eed411318c15b13a13d3c5653 /app/models/blob_viewer
parentcde3760bb4aa4c9abe45aad301d4334936be74ba (diff)
downloadgitlab-ce-817aa1b1160bcc1f3be828ad3c0c66fe403e2557.tar.gz
added balsamiq blobviewer class
Diffstat (limited to 'app/models/blob_viewer')
-rw-r--r--app/models/blob_viewer/balsamiq.rb12
1 files changed, 12 insertions, 0 deletions
diff --git a/app/models/blob_viewer/balsamiq.rb b/app/models/blob_viewer/balsamiq.rb
new file mode 100644
index 00000000000..8b0c0c049a1
--- /dev/null
+++ b/app/models/blob_viewer/balsamiq.rb
@@ -0,0 +1,12 @@
+module BalsamiqViewer
+ class Balsamiq < Base
+ include Rich
+ include ClientSide
+
+ self.partial_name = 'balsamiq'
+ self.extensions = %w(bmpr)
+ self.binary = true
+ self.switcher_icon = 'file-image-o'
+ self.switcher_title = 'preview'
+ end
+end