mirror of
https://0xacab.org/sutty/sutty
synced 2024-11-22 16:56:21 +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
|
||||
|
||||
# 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