diff --git a/lib/princely/rails.rb b/lib/princely/rails.rb index af803df..48d9b75 100644 --- a/lib/princely/rails.rb +++ b/lib/princely/rails.rb @@ -7,11 +7,10 @@ if defined?(Rails) if Rails::VERSION::MAJOR >= 5 ActionController::Base.send(:prepend, Princely::PdfHelper) - ActionController::Base.send(:include, Princely::AssetSupport) else ActionController::Base.send(:include, Princely::PdfHelper) end ActionController::Base.send(:include, Princely::AssetSupport) if (Rails::VERSION::MAJOR == 3 && Rails::VERSION::MINOR > 0) || - (Rails::VERSION::MAJOR >= 4) + (Rails::VERSION::MAJOR >= 4) end