Skip to content

Commit 440fd9f

Browse files
committed
Upgrade Rails from 5.2 => 6.0 and run app:upgrade script
1 parent d424f9a commit 440fd9f

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

config/application.rb

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ module Railsgoat
1010
class Application < Rails::Application
1111

1212
# Initialize configuration defaults for originally generated Rails version.
13-
config.load_defaults 5.1
13+
config.load_defaults 5.2
1414

1515
# Settings in config/environments/* take precedence over those specified here.
1616
# Application configuration can go into files in config/initializers
@@ -24,6 +24,6 @@ class Application < Rails::Application
2424
# Disable CSRF protection for RailsGoat
2525
config.action_controller.per_form_csrf_tokens = false
2626

27-
# config.action_dispatch.return_only_media_type_on_content_type = false
27+
config.action_dispatch.return_only_media_type_on_content_type = false
2828
end
2929
end

0 commit comments

Comments
 (0)