Skip to content

Commit

Permalink
chore: load rails 7.0 defaults
Browse files Browse the repository at this point in the history
  • Loading branch information
colinux committed Aug 22, 2024
1 parent b43bddf commit 11d136a
Show file tree
Hide file tree
Showing 3 changed files with 2 additions and 136 deletions.
2 changes: 1 addition & 1 deletion config/application.rb
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@
module TPS
class Application < Rails::Application
# Initialize configuration defaults for originally generated Rails version.
config.load_defaults 6.1
config.load_defaults 7.0

# Configuration for the application, engines, and railties goes here.
#
Expand Down
1 change: 1 addition & 0 deletions config/initializers/active_storage.rb
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@

Rails.application.config.active_storage.service_urls_expire_in = 1.hour

Rails.application.config.active_storage.variant_processor = :mini_magick
Rails.application.config.active_storage.analyzers.delete ActiveStorage::Analyzer::ImageAnalyzer
Rails.application.config.active_storage.analyzers.delete ActiveStorage::Analyzer::VideoAnalyzer

Expand Down
135 changes: 0 additions & 135 deletions config/initializers/new_framework_defaults_7_0.rb

This file was deleted.

0 comments on commit 11d136a

Please sign in to comment.