diff options
Diffstat (limited to 'app/models/blob_viewer/download.rb')
-rw-r--r-- | app/models/blob_viewer/download.rb | 13 |
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 |