summaryrefslogtreecommitdiff
path: root/app/models/blob_viewer/license.rb
diff options
context:
space:
mode:
Diffstat (limited to 'app/models/blob_viewer/license.rb')
-rw-r--r--app/models/blob_viewer/license.rb5
1 files changed, 1 insertions, 4 deletions
diff --git a/app/models/blob_viewer/license.rb b/app/models/blob_viewer/license.rb
index 5e60ff2af97..6751ea15a5d 100644
--- a/app/models/blob_viewer/license.rb
+++ b/app/models/blob_viewer/license.rb
@@ -1,10 +1,7 @@
module BlobViewer
class License < Base
- # We treat the License 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
include Auxiliary
+ include Static
self.partial_name = 'license'
self.file_types = %i(license)