diff options
author | GitLab Bot <gitlab-bot@gitlab.com> | 2023-06-05 15:09:39 +0300 |
---|---|---|
committer | GitLab Bot <gitlab-bot@gitlab.com> | 2023-06-05 15:09:39 +0300 |
commit | 8dbc985bec96cad1e9a3315f38be27eb2374e5dc (patch) | |
tree | 4a4b010ebb11d110b3144d12f32bac0c9ad4dde8 /config | |
parent | dea522994156f9d427b1acc0a22b0e75ffe92c68 (diff) |
Add latest changes from gitlab-org/gitlab@master
Diffstat (limited to 'config')
-rw-r--r-- | config/initializers/00_deprecations.rb | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/config/initializers/00_deprecations.rb b/config/initializers/00_deprecations.rb index 8aff095d88b..39398367c1e 100644 --- a/config/initializers/00_deprecations.rb +++ b/config/initializers/00_deprecations.rb @@ -35,7 +35,10 @@ else /Using `return`, `break` or `throw` to exit a transaction block/ ] - ActiveSupport::Deprecation.disallowed_warnings = rails7_deprecation_warnings + view_component_3_warnings = [ + /Setting a slot with `#\w+` is deprecated and will be removed from ViewComponent 3.0.0/ + ] + ActiveSupport::Deprecation.disallowed_warnings = rails7_deprecation_warnings + view_component_3_warnings end unless ActiveSupport::Deprecation.silenced |