lib/signature/pad/rails.rb in signature-pad-rails-0.4 vs lib/signature/pad/rails.rb in signature-pad-rails-0.5
- old
+ new
@@ -2,9 +2,14 @@
module Signature
module Pad
module Rails
class Engine < ::Rails::Engine
+
+ initializer 'signature-pad-rails.assets' do |app|
+ app.config.assets.precompile += %w( signature-pad/flashcanvas.swf )
+ end
+
end
end
end
end