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.rb7
1 files changed, 2 insertions, 5 deletions
diff --git a/app/models/blob_viewer/license.rb b/app/models/blob_viewer/license.rb
index 3ad49570c88..6751ea15a5d 100644
--- a/app/models/blob_viewer/license.rb
+++ b/app/models/blob_viewer/license.rb
@@ -1,13 +1,10 @@
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_type = :license
+ self.file_types = %i(license)
self.binary = false
def license