mirror of
https://github.com/rails/rails.git
synced 2022-11-09 12:12:34 -05:00
Align all the assigments
This commit is contained in:
parent
8ef5bd9ced
commit
028faabc5f
1 changed files with 8 additions and 8 deletions
|
@ -132,14 +132,14 @@ module Rails
|
|||
end
|
||||
|
||||
def config_when_updating
|
||||
cookie_serializer_config_exist = File.exist?("config/initializers/cookies_serializer.rb")
|
||||
action_cable_config_exist = File.exist?("config/cable.yml")
|
||||
active_storage_config_exist = File.exist?("config/storage.yml")
|
||||
rack_cors_config_exist = File.exist?("config/initializers/cors.rb")
|
||||
assets_config_exist = File.exist?("config/initializers/assets.rb")
|
||||
asset_manifest_exist = File.exist?("app/assets/config/manifest.js")
|
||||
asset_app_stylesheet_exist = File.exist?("app/assets/stylesheets/application.css")
|
||||
csp_config_exist = File.exist?("config/initializers/content_security_policy.rb")
|
||||
cookie_serializer_config_exist = File.exist?("config/initializers/cookies_serializer.rb")
|
||||
action_cable_config_exist = File.exist?("config/cable.yml")
|
||||
active_storage_config_exist = File.exist?("config/storage.yml")
|
||||
rack_cors_config_exist = File.exist?("config/initializers/cors.rb")
|
||||
assets_config_exist = File.exist?("config/initializers/assets.rb")
|
||||
asset_manifest_exist = File.exist?("app/assets/config/manifest.js")
|
||||
asset_app_stylesheet_exist = File.exist?("app/assets/stylesheets/application.css")
|
||||
csp_config_exist = File.exist?("config/initializers/content_security_policy.rb")
|
||||
permissions_policy_config_exist = File.exist?("config/initializers/permissions_policy.rb")
|
||||
|
||||
@config_target_version = Rails.application.config.loaded_config_version || "5.0"
|
||||
|
|
Loading…
Reference in a new issue