diff app/helpers/application_helper.rb @ 260:e2150dce4e90

Rubocop (rails) time
author nanaya <me@nanaya.net>
date Sun, 15 Dec 2024 22:59:09 +0900
parents c6a50441a58d
children
line wrap: on
line diff
--- a/app/helpers/application_helper.rb	Sun Dec 15 22:55:34 2024 +0900
+++ b/app/helpers/application_helper.rb	Sun Dec 15 22:59:09 2024 +0900
@@ -10,9 +10,9 @@
       expanded = urls[url]
 
       case expanded
-        when nil then url
-        when Hash then expanded[:url]
-        else expanded
+      when nil then url
+      when Hash then expanded[:url]
+      else expanded
       end
     end
   end