From e33b53f5e6c60ccfcae92c9f22ebc41cc4b53a4d Mon Sep 17 00:00:00 2001 From: f Date: Mon, 24 Apr 2023 14:47:16 -0300 Subject: [PATCH] fix: merge fallido --- app/services/site_service.rb | 12 ------------ 1 file changed, 12 deletions(-) diff --git a/app/services/site_service.rb b/app/services/site_service.rb index 43d1390d..47b545c1 100644 --- a/app/services/site_service.rb +++ b/app/services/site_service.rb @@ -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