diff --git a/lib/locomotive/engine.rb b/lib/locomotive/engine.rb index 1488818e..367f8b9a 100644 --- a/lib/locomotive/engine.rb +++ b/lib/locomotive/engine.rb @@ -23,14 +23,14 @@ module Locomotive locomotive/not_logged_in.js locomotive/not_logged_in.css locomotive/aloha.js) - # very useful to see what happens during the precompilation of the assets - def compile_asset?(path) - puts "Compiling: #{path}" - true - end - - app.config.assets.precompile = [ method(:compile_asset?).to_proc ] + # Uncomment the lines below to view the names of assets as they are + # precompiled for the rails asset pipeline + #def compile_asset?(path) + #puts "Compiling: #{path}" + #true + #end + #app.config.assets.precompile = [ method(:compile_asset?).to_proc ] end end