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

13 lines
241 B
Ruby
Raw Normal View History

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
2017-04-13 13:21:07 -04:00
self.switcher_icon = 'file-pdf-o'
self.switcher_title = 'PDF'
end
end