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

Version Path
pdfjs_viewer-rails-0.3.2 lib/pdfjs_viewer-rails.rb
pdfjs_viewer-rails-0.3.1 lib/pdfjs_viewer-rails.rb
pdfjs_viewer-rails-0.3.0 lib/pdfjs_viewer-rails.rb
pdfjs_viewer-rails-0.2.0 lib/pdfjs_viewer-rails.rb
pdfjs_viewer-rails-0.1.0 lib/pdfjs_viewer-rails.rb
pdfjs_viewer-rails-0.0.9 lib/pdfjs_viewer-rails.rb
pdfjs_viewer-rails-0.0.8 lib/pdfjs_viewer-rails.rb
pdfjs_viewer-rails-0.0.7 lib/pdfjs_viewer-rails.rb
pdfjs_viewer-rails-0.0.6 lib/pdfjs_viewer-rails.rb
pdfjs_viewer-rails-0.0.5 lib/pdfjs_viewer-rails.rb
pdfjs_viewer-rails-0.0.4 lib/pdfjs_viewer-rails.rb
pdfjs_viewer-rails-0.0.3 lib/pdfjs_viewer-rails.rb