Welcome to mirror list, hosted at ThFree Co, Russian Federation.

gitlab.com/gitlab-org/gitlab-foss.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'app/models/blob_viewer/download.rb')
-rw-r--r--app/models/blob_viewer/download.rb13
1 files changed, 13 insertions, 0 deletions
diff --git a/app/models/blob_viewer/download.rb b/app/models/blob_viewer/download.rb
new file mode 100644
index 00000000000..45cb38a3268
--- /dev/null
+++ b/app/models/blob_viewer/download.rb
@@ -0,0 +1,13 @@
+module BlobViewer
+ class Download < Base
+ include Simple
+ include ServerSide
+
+ self.partial_name = 'download'
+ self.text_based = false
+
+ def render_error(*)
+ nil
+ end
+ end
+end