lib/snaptable/rails/engine.rb in snaptable-0.4.0 vs lib/snaptable/rails/engine.rb in snaptable-0.4.1
- old
+ new
@@ -1,7 +1,9 @@
module Snaptable
module Rails
class Engine < ::Rails::Engine
+ require "will_paginate"
+
initializer "Snaptable.assets.precompile" do |app|
app.config.assets.precompile +=%w(autotable.js autotable.css)
end
end
end
\ No newline at end of file