lib/will_paginate/materialize.rb in will_paginate-materialize-0.1.1 vs lib/will_paginate/materialize.rb in will_paginate-materialize-0.1.2
- old
+ new
@@ -1,5 +1,4 @@
require 'will_paginate'
-if defined?(ActionView)
- require "materialize_pagination/action_view"
-end
+require "materialize_pagination/action_view" if defined?(ActionView)
+require 'materialize_pagination/railtie' if defined?(Rails)