From 85f292c1f3429497b9cf84783029d680f5e77738 Mon Sep 17 00:00:00 2001 From: RyanTG Date: Mon, 23 Sep 2024 14:06:24 -0700 Subject: [PATCH] remove deprecated sprockets configs --- config/application.rb | 5 ----- config/initializers/assets.rb | 2 +- 2 files changed, 1 insertion(+), 6 deletions(-) diff --git a/config/application.rb b/config/application.rb index 4b1c5b1f..7de443fd 100644 --- a/config/application.rb +++ b/config/application.rb @@ -30,11 +30,6 @@ class Application < Rails::Application # Configure sensitive parameters which will be filtered from the log file. config.filter_parameters += [:password] - config.assets.enabled = true - config.serve_static_files = true - config.assets.initialize_on_precompile = false - config.assets.version = '1.4' - config.assets.precompile = ["manifest.js"] config.middleware.insert_after Rack::Runtime, Middleware::SemicolonHandling diff --git a/config/initializers/assets.rb b/config/initializers/assets.rb index 7d173809..97899d73 100644 --- a/config/initializers/assets.rb +++ b/config/initializers/assets.rb @@ -1,7 +1,7 @@ # Be sure to restart your server when you modify this file. # Version of your assets, change this if you want to expire all your assets. -Rails.application.config.assets.version = "1.0" +# Rails.application.config.assets.version = "1.0" # Add additional assets to the asset load path. # Rails.application.config.assets.paths << Emoji.images_path