5
0
Fork 0
mirror of https://0xacab.org/sutty/sutty synced 2024-11-17 05:36:22 +00:00

fixup! fix: solo vincular urls que tienen protocolo

This commit is contained in:
f 2023-08-31 14:47:44 -03:00
parent d8e21c97e2
commit f076838be5
No known key found for this signature in database
2 changed files with 2 additions and 2 deletions

View file

@ -70,7 +70,7 @@ class DeployJob < ApplicationJob
status: status, status: status,
seconds: seconds, seconds: seconds,
size: size, size: size,
urls: urls urls: urls.map(&:to_s)
} }
end end

View file

@ -13,7 +13,7 @@
%tr %tr
%td= row[:title] %td= row[:title]
%td= row[:status] %td= row[:status]
%td= link_to_if (url.present? && uri.scheme.present?), url.to_s, url.to_s %td= link_to_if (url.present? && url.scheme.present?), url.to_s, url.to_s
%td %td
%time{ datetime: row[:seconds][:machine] }= row[:seconds][:human] %time{ datetime: row[:seconds][:machine] }= row[:seconds][:human]
%td= row[:size] %td= row[:size]