mirror of
https://0xacab.org/sutty/sutty
synced 2024-11-16 11:01:41 +00:00
fix: a veces no se puede deployear nada
closes ##12735 closes ##12733 closes ##12722 closes ##12719 closes ##12716 closes ##10417
This commit is contained in:
parent
77e209ac97
commit
1496a6f04b
1 changed files with 2 additions and 1 deletions
|
@ -12,10 +12,11 @@ class DeployMailer < ApplicationMailer
|
|||
include ActionView::Helpers::DateHelper
|
||||
|
||||
# rubocop:disable Metrics/AbcSize
|
||||
def deployed(deploys)
|
||||
def deployed(deploys = {})
|
||||
usuarie = Usuarie.find(params[:usuarie])
|
||||
site = usuarie.sites.find(params[:site])
|
||||
hostname = site.hostname
|
||||
deploys ||= {}
|
||||
|
||||
# Informamos a cada quien en su idioma y damos una dirección de
|
||||
# respuesta porque a veces les usuaries nos escriben
|
||||
|
|
Loading…
Reference in a new issue