lib/pakyow-assets.rb in pakyow-assets-0.1.1 vs lib/pakyow-assets.rb in pakyow-assets-0.1.2
- old
+ new
@@ -6,10 +6,10 @@
require_relative 'preprocessors/css-preprocessor'
require_relative 'preprocessors/image-preprocessor'
require_relative 'preprocessors/javascript-preprocessor'
require_relative 'preprocessors/sass-preprocessor'
-Pakyow::App.after :init do
+Pakyow::App.after :configure do
config.assets.stores.each_pair do |name, path|
Pakyow::Assets.register_path_with_name(path, name)
end
if config.assets.compile_on_startup