5
0
Fork 0
mirror of https://0xacab.org/sutty/sutty synced 2024-11-20 13:36:21 +00:00

fix: merge fallido

This commit is contained in:
f 2023-04-24 14:47:16 -03:00
parent 07145aad79
commit e33b53f5e6

View file

@ -222,18 +222,6 @@ SiteService = Struct.new(:site, :usuarie, :params, keyword_init: true) do
private
def with_all_locales(&block)
site.locales.each do |locale|
next unless I18n.available_locales.include? locale
Mobility.with_locale(locale) do
yield locale
end
end
end
private
def with_all_locales(&block)
site.locales.map do |locale|
next unless I18n.available_locales.include? locale