diff --git a/back/config/application.rb b/back/config/application.rb index f3fb9b9f1ff3..4d378033b68f 100644 --- a/back/config/application.rb +++ b/back/config/application.rb @@ -29,8 +29,7 @@ module Cl2Back class Application < Rails::Application require_dependency Rails.root.join('lib/citizen_lab') - # 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. # diff --git a/back/config/initializers/new_framework_defaults_7_0.rb b/back/config/initializers/new_framework_defaults_7_0.rb deleted file mode 100644 index fdc4999fccbf..000000000000 --- a/back/config/initializers/new_framework_defaults_7_0.rb +++ /dev/null @@ -1,130 +0,0 @@ -# frozen_string_literal: true - -# Be sure to restart your server when you modify this file. -# -# This file eases your Rails 7.0 framework defaults upgrade. -# -# Uncomment each configuration one by one to switch to the new default. -# Once your application is ready to run with all new defaults, you can remove -# this file and set the `config.load_defaults` to `7.0`. -# -# Read the Guide for Upgrading Ruby on Rails for more info on each option. -# https://guides.rubyonrails.org/upgrading_ruby_on_rails.html - -# `button_to` view helper will render `