lib/egghead/styles.rb in egghead-styles-1.0.31 vs lib/egghead/styles.rb in egghead-styles-1.0.32
- old
+ new
@@ -2,16 +2,10 @@
module Egghead
module Styles
class Engine < ::Rails::Engine
-
- initializer 'egghead-styles.assets.precompile', group: :all do |app|
- %w(stylesheets).each do |sub|
- app.config.assets.paths << root.join('assets', sub).to_s
- end
- end
-
+ config.assets.paths << Rails.root.join('assets', 'stylesheets').to_s
end
end
end