mirror of
https://github.com/discourse/discourse.git
synced 2025-05-22 22:43:33 +08:00
DEV: correct some Ruby 2.7 deprecations
There are a few left, especially in gems but this makes some progress
This commit is contained in:
@ -12,7 +12,7 @@ module SeedData
|
||||
|
||||
def create(site_setting_names: nil)
|
||||
I18n.with_locale(@locale) do
|
||||
categories(site_setting_names).each { |params| create_category(params) }
|
||||
categories(site_setting_names).each { |params| create_category(**params) }
|
||||
end
|
||||
end
|
||||
|
||||
|
Reference in New Issue
Block a user