Standard rb fixes

This commit is contained in:
2023-10-31 08:17:10 +11:00
parent 1d43f6ca59
commit c1d756ec6f
9 changed files with 13 additions and 15 deletions

View File

@@ -7,7 +7,7 @@ module Admin
expose :photos_buckets do |available_paths|
available_paths.each_with_object({}) do |root, memo|
memo[root.gsub(MEDIA_DIR, "")] = Dir["#{root}/**"].sort {|a,b| File.ctime(b) <=> File.ctime(a) }
memo[root.gsub(MEDIA_DIR, "")] = Dir["#{root}/**"].sort { |a, b| File.ctime(b) <=> File.ctime(a) }
end
end