Sha256: 21ce2e1ca7fab6ca7d95411eb878c268f01614193bbf37f2ca8f92961a7bbaed
Contents?: true
Size: 468 Bytes
Versions: 12
Compression:
Stored size: 468 Bytes
Contents
require "pdfjs_viewer-rails/version" require "pdfjs_viewer-rails/helpers" module PdfjsViewer module Rails class Engine < ::Rails::Engine isolate_namespace PdfjsViewer initializer 'pdfjs_viewer-rails.load_static_assets' do |app| app.middleware.unshift ::ActionDispatch::Static, "#{root}/public" end initializer "pdfjs_viewer-rails.view_helpers" do ActionView::Base.send :include, ViewHelpers end end end end
Version data entries
12 entries across 12 versions & 1 rubygems