mirror of
https://0xacab.org/sutty/sutty
synced 2024-11-20 13:36:21 +00:00
fix: merge fallido
This commit is contained in:
parent
07145aad79
commit
e33b53f5e6
1 changed files with 0 additions and 12 deletions
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue