summaryrefslogtreecommitdiff
path: root/app/models/blob_viewer/download.rb
diff options
context:
space:
mode:
Diffstat (limited to 'app/models/blob_viewer/download.rb')
-rw-r--r--app/models/blob_viewer/download.rb5
1 files changed, 3 insertions, 2 deletions
diff --git a/app/models/blob_viewer/download.rb b/app/models/blob_viewer/download.rb
index e406cfc05f7..8f293ea6008 100644
--- a/app/models/blob_viewer/download.rb
+++ b/app/models/blob_viewer/download.rb
@@ -1,8 +1,9 @@
module BlobViewer
class Download < Base
include Simple
- # We pretend the Download viewer is rendered client-side so that it doesn't
- # attempt to load the entire blob contents.
+ # We treat the Download viewer as if it renders the content client-side,
+ # so that it doesn't attempt to load the entire blob contents and is
+ # rendered synchronously instead of loaded asynchronously.
include ClientSide
self.partial_name = 'download'