summaryrefslogtreecommitdiff
path: root/config/initializers/new_framework_defaults_5_1.rb
blob: 9010abd5c21f93ceb03a9b982de62fca56ed9914 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
# Be sure to restart your server when you modify this file.
#
# This file contains migration options to ease your Rails 5.1 upgrade.
#
# Once upgraded flip defaults one by one to migrate to the new default.
#
# Read the Guide for Upgrading Ruby on Rails for more info on each option.

# Make `form_with` generate non-remote forms.
Rails.application.config.action_view.form_with_generates_remote_forms = false

# Unknown asset fallback will return the path passed in when the given
# asset is not present in the asset pipeline.
# Rails.application.config.assets.unknown_asset_fallback = false