Sha256: e3656e0246a58e29b4699a81f1d318a0a48719d9fa9e8e7be61dc66c0c9c0490

Contents?: true

Size: 244 Bytes

Versions: 3

Compression:

Stored size: 244 Bytes

Contents

module Wisepdf
  module Rails
    class Railtie < ::Rails::Railtie
      initializer "wise_pdf.register" do
        ActionController::Base.send :include, Render
        ActionView::Base.send :include, Helper::Legacy
      end
    end
  end
end

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
wisepdf-1.4.0 lib/wisepdf/rails/railtie.rb
wisepdf-1.3.1 lib/wisepdf/rails/railtie.rb
wisepdf-1.3.0 lib/wisepdf/rails/railtie.rb