summaryrefslogtreecommitdiff
path: root/app/models/blob_viewer
diff options
context:
space:
mode:
authorDouwe Maan <douwe@selenight.nl>2017-05-13 12:06:51 -0500
committerDouwe Maan <douwe@selenight.nl>2017-05-16 15:51:22 -0500
commit7844fa1fc2e54de9b36f6bb2faa6d2f3385fc4f7 (patch)
tree053b42a3cce696ae37ed014f96cd3984b7a64b5a /app/models/blob_viewer
parent67312fceaa69abb2bc88aa62601625e9f6a62270 (diff)
downloadgitlab-ce-7844fa1fc2e54de9b36f6bb2faa6d2f3385fc4f7.tar.gz
Add auxiliary viewer for CONTRIBUTINGdm-contributing-viewer
Diffstat (limited to 'app/models/blob_viewer')
-rw-r--r--app/models/blob_viewer/contributing.rb10
1 files changed, 10 insertions, 0 deletions
diff --git a/app/models/blob_viewer/contributing.rb b/app/models/blob_viewer/contributing.rb
new file mode 100644
index 00000000000..fbd1dd48697
--- /dev/null
+++ b/app/models/blob_viewer/contributing.rb
@@ -0,0 +1,10 @@
+module BlobViewer
+ class Contributing < Base
+ include Auxiliary
+ include Static
+
+ self.partial_name = 'contributing'
+ self.file_types = %i(contributing)
+ self.binary = false
+ end
+end