Skip to content

Commit

Permalink
Merge pull request #535 from rails/rm-fix-deprecations
Browse files Browse the repository at this point in the history
Fix deprecations
  • Loading branch information
rafaelfranca authored Jul 31, 2024
2 parents aa0cf7c + 6245157 commit 550bce4
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
2 changes: 1 addition & 1 deletion lib/sprockets/railtie.rb
Original file line number Diff line number Diff line change
Expand Up @@ -222,7 +222,7 @@ def self.build_manifest(app)
if config.assets.compile
app.assets = self.build_environment(app, true)
app.routes.prepend do
mount app.assets => config.assets.prefix
mount app.assets, at: config.assets.prefix
end
end

Expand Down
1 change: 1 addition & 0 deletions test/test_quiet_assets.rb
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,7 @@ def setup
@app = Class.new(Rails::Application)
@app.config.eager_load = false
@app.config.logger = ActiveSupport::Logger.new("/dev/null")
@app.config.active_support.to_time_preserves_timezone = :zone

FileUtils.mkdir_p(ASSET_PATH)
File.open(ASSET_PATH.join("manifest.js"), "w") { |f| f << "" }
Expand Down

0 comments on commit 550bce4

Please sign in to comment.