lib/wisepdf/rails.rb in wisepdf-1.2.10 vs lib/wisepdf/rails.rb in wisepdf-1.3.0

- old
+ new

@@ -1,10 +1,10 @@ module Wisepdf module Rails if ::Rails::VERSION::MAJOR == 2 require 'wisepdf/rails/legacy' elsif ::Rails::VERSION::MAJOR > 2 - if ::Rails::VERSION::MINOR < 1 + if ::Rails::VERSION::MAJOR == 3 && ::Rails::VERSION::MINOR < 1 require 'wisepdf/rails/railtie' else require 'wisepdf/rails/engine' end end