lib/wisepdf/rails/engine.rb in wisepdf-1.3.1 vs lib/wisepdf/rails/engine.rb in wisepdf-1.4.0

- old
+ new

@@ -1,9 +1,10 @@ module Wisepdf module Rails class Engine < ::Rails::Engine initializer "wise_pdf.register" do - ActionController::Base.send :include, Render + ActionController::Base.send :include, Wisepdf::Render + if Wisepdf::Configuration.use_asset_pipeline? ActionView::Base.send :include, Helper::Assets else ActionView::Base.send :include, Helper::Legacy end