Reformat ASSET_VERSIONS for readability
Assisted-by: Claude Opus 4.6 via Claude Code
change yyqpzlxurorvlsswtuzrpxvxuqvuvlko
commit 9b3f86b417419e17087e8006221a7cf36a11954d
author Alpha Chen <alpha@kejadlen.dev>
date
parent lqmrukpr
diff --git a/lib/ketchup/views/layout.rb b/lib/ketchup/views/layout.rb
index f0d6607..134c379 100644
--- a/lib/ketchup/views/layout.rb
+++ b/lib/ketchup/views/layout.rb
@@ -7,9 +7,14 @@ module Views
   class Layout < Phlex::HTML
     ASSET_VERSIONS = begin
       root = File.expand_path("../../../public", __dir__)
-      %w[/css/reset.css /css/utopia.css /css/app.css /js/app.js].to_h do |path|
+      %w[
+        /css/reset.css
+        /css/utopia.css
+        /css/app.css
+        /js/app.js
+      ].to_h {|path|
         [path, Digest::MD5.file(File.join(root, path)).hexdigest[0, 10]]
-      end.freeze
+      }.freeze
     end
 
     def initialize(current_user:, title: "Ketchup", active_view: nil)