gitlab-org--gitlab-foss/app/models/blob_viewer/pdf.rb

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

15 lines
270 B
Ruby
Raw Normal View History

# frozen_string_literal: true
2017-04-13 13:21:07 -04:00
module BlobViewer
class PDF < Base
include Rich
include ClientSide
2017-04-13 13:21:07 -04:00
self.partial_name = 'pdf'
self.extensions = %w(pdf)
self.binary = true
self.switcher_icon = 'document'
2017-04-13 13:21:07 -04:00
self.switcher_title = 'PDF'
end
end