config/initializers/assets.rb in rocketjob_mission_control-5.0.1 vs config/initializers/assets.rb in rocketjob_mission_control-6.0.0.beta
- old
+ new
@@ -1,9 +1,8 @@
-Rails.application.config.assets.precompile << proc do |path|
- true if path =~ /\.(eot|svg|ttf|woff)\z/
-end
-
+Rails.application.config.assets.precompile << ["*.svg", "*.eot", "*.woff", "*.ttf"]
Rails.application.config.assets.precompile += %w[
+ rocket_job_mission_control/application.css
+ rocket_job_mission_control/application.js
rocket_job_mission_control/favicon.png
rocket_job_mission_control/safari-pinned-tab.svg
rocket_job_mission_control/favicon-16x16.png
rocket_job_mission_control/favicon-32x32.png
rocket_job_mission_control/apple-touch-icon.png