FIX: Address ArgumentError to support Ruby 3 keyword arguments

This commit is contained in:
Yasuo Honda 2021-09-15 15:09:54 +09:00 committed by Robin Ward
parent b83868bfb0
commit eed3773b97
1 changed files with 1 additions and 1 deletions

View File

@ -13,7 +13,7 @@ module SeedData
def create(site_setting_names: nil, include_welcome_topics: true)
I18n.with_locale(@locale) do
topics(site_setting_names, include_welcome_topics).each do |params|
create_topic(params)
create_topic(**params)
end
end
end