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

Merge branch 'issue-13178' into panel.sutty.nl

This commit is contained in:
f 2023-04-21 13:54:17 -03:00
commit e112eb26cf

View file

@ -89,7 +89,7 @@ class Site
#
# @return [Time]
def last_deploy_time
deploys.order(updated_at: :desc).select(:updated_at).first&.updated_at || updated_at
deploys.order(created_at: :desc).select(:created_at).first&.created_at || updated_at
end
# Encuentra la fecha de última publicación exitosa, si no hay