Upgrade to Rails 7.1 and apply new framework defaults
* Remove deprecated options from environments * Remove deprecation warnings for upcoming Rails 7.2 * Dump schema with new defaults * Remove outdated (and erroneous) data attribute in view * Resolve a `NoMethodError` for seeds_spec.rb
This commit is contained in:
@@ -1,7 +1,9 @@
|
||||
# frozen_string_literal: true
|
||||
|
||||
# Be sure to restart your server when you modify this file.
|
||||
|
||||
# Define an application-wide HTTP permissions policy. For further
|
||||
# information see https://developers.google.com/web/updates/2018/06/feature-policy
|
||||
# information see: https://developers.google.com/web/updates/2018/06/feature-policy
|
||||
# TODO: Feature-Policy has been renamed to Permissions-Policy. The Permissions-Policy is
|
||||
# not yet supported by Rails (even though the new name is already used for the method)
|
||||
Rails.application.config.permissions_policy do |policy|
|
||||
@@ -19,8 +21,5 @@ Rails.application.config.permissions_policy do |policy|
|
||||
policy.payment :none
|
||||
policy.picture_in_picture :none
|
||||
# The `speaker` directive is used for selection of non-default audio output devices
|
||||
policy.speaker :none
|
||||
policy.usb :none
|
||||
policy.vibrate :none
|
||||
policy.vr :none
|
||||
end
|
||||
|
Reference in New Issue
Block a user