summaryrefslogtreecommitdiff
path: root/app/models/blob_viewer
diff options
context:
space:
mode:
authorLuke "Jared" Bennett <lbennett@gitlab.com>2017-04-30 11:13:49 +0100
committerLuke "Jared" Bennett <lbennett@gitlab.com>2017-04-30 11:13:49 +0100
commit759f102df09a7877ae68ab05b87d3a434f588067 (patch)
treee5f002acff468f5e84ade40c31e5e4b991899f1e /app/models/blob_viewer
parentadff7923ca3088df9e07ccd60d6f9fa24fbdbfc5 (diff)
parent03f13af588cf2b578a27717db492c216fcafbf9a (diff)
downloadgitlab-ce-759f102df09a7877ae68ab05b87d3a434f588067.tar.gz
Merge branch 'master' into balsalmiq-support
Diffstat (limited to 'app/models/blob_viewer')
-rw-r--r--app/models/blob_viewer/video.rb12
1 files changed, 12 insertions, 0 deletions
diff --git a/app/models/blob_viewer/video.rb b/app/models/blob_viewer/video.rb
new file mode 100644
index 00000000000..057f9fe516f
--- /dev/null
+++ b/app/models/blob_viewer/video.rb
@@ -0,0 +1,12 @@
+module BlobViewer
+ class Video < Base
+ include Rich
+ include ClientSide
+
+ self.partial_name = 'video'
+ self.extensions = UploaderHelper::VIDEO_EXT
+ self.binary = true
+ self.switcher_icon = 'film'
+ self.switcher_title = 'video'
+ end
+end