diff --git a/app/models/deploy_rsync.rb b/app/models/deploy_rsync.rb index c8e0dc8f..feaa25b9 100644 --- a/app/models/deploy_rsync.rb +++ b/app/models/deploy_rsync.rb @@ -23,6 +23,10 @@ class DeployRsync < Deploy end end + def url + "https://#{user_host.last}" + end + private # Verificar la conexión SSH implementando Trust On First Use @@ -93,8 +97,4 @@ class DeployRsync < Deploy def source site.deploys.find_by(type: 'DeployLocal').destination end - - def url - "https://#{user_host.last}" - end end