mirror of
https://0xacab.org/sutty/sutty
synced 2024-11-22 22:26:22 +00:00
Merge branch 'informative-deploys' into panel.sutty.nl
All checks were successful
ci/woodpecker/push/woodpecker Pipeline was successful
All checks were successful
ci/woodpecker/push/woodpecker Pipeline was successful
This commit is contained in:
commit
a69d7b6d94
1 changed files with 2 additions and 1 deletions
|
@ -12,10 +12,11 @@ class DeployMailer < ApplicationMailer
|
||||||
include ActionView::Helpers::DateHelper
|
include ActionView::Helpers::DateHelper
|
||||||
|
|
||||||
# rubocop:disable Metrics/AbcSize
|
# rubocop:disable Metrics/AbcSize
|
||||||
def deployed(deploys)
|
def deployed(deploys = {})
|
||||||
usuarie = Usuarie.find(params[:usuarie])
|
usuarie = Usuarie.find(params[:usuarie])
|
||||||
site = usuarie.sites.find(params[:site])
|
site = usuarie.sites.find(params[:site])
|
||||||
hostname = site.hostname
|
hostname = site.hostname
|
||||||
|
deploys ||= {}
|
||||||
|
|
||||||
# Informamos a cada quien en su idioma y damos una dirección de
|
# Informamos a cada quien en su idioma y damos una dirección de
|
||||||
# respuesta porque a veces les usuaries nos escriben
|
# respuesta porque a veces les usuaries nos escriben
|
||||||
|
|
Loading…
Reference in a new issue