5
0
Fork 0
mirror of https://0xacab.org/sutty/sutty synced 2024-11-28 10:46:22 +00:00

Merge branch 'blazer' into panel.sutty.nl

This commit is contained in:
f 2022-04-29 18:05:22 -03:00
commit 5720cb7057

View file

@ -145,11 +145,13 @@ class UriCollectionJob < PeriodicJob
uri = "/#{locale}/".squeeze('/') uri = "/#{locale}/".squeeze('/')
dir = File.join(destination, locale) dir = File.join(destination, locale)
next unless File.directory? dir
files(dir).map do |f| files(dir).map do |f|
uri + f uri + f
end end
end end
end.flatten(3) end.flatten(3).compact
end end
# @return [Array] # @return [Array]