Skip to content

Commit

Permalink
remove deprecated sprockets configs
Browse files Browse the repository at this point in the history
  • Loading branch information
RyanTG committed Sep 23, 2024
1 parent 4b986ae commit 85f292c
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 6 deletions.
5 changes: 0 additions & 5 deletions config/application.rb
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
2 changes: 1 addition & 1 deletion config/initializers/assets.rb
Original file line number Diff line number Diff line change
@@ -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
Expand Down

0 comments on commit 85f292c

Please sign in to comment.