rename mail templates folder

This commit is contained in:
Jérémy Munsch 2021-05-21 14:22:50 +02:00
parent e513750017
commit 28e42106d7
6 changed files with 3 additions and 3 deletions

View file

@ -31,6 +31,6 @@ class NewTicket extends Mailable
public function build()
{
$ticket = $this->ticket;
return $this->subject("[SupportWeb] Nouveau ticket n°" . $ticket->id)->view('mails.new-ticket', compact('ticket'));
return $this->subject("[SupportWeb] Nouveau ticket n°" . $ticket->id)->view('emails.new-ticket', compact('ticket'));
}
}

View file

@ -40,6 +40,6 @@ class TicketMention extends Mailable
$ticket = $this->ticket;
$corpsMaj = Utils::plainToHtml($this->corpsMaj);
return $this->subject("[SupportWeb] Vous avez été mentionné sur le ticket n° $ticket->id")
->view('mails.ticket-mention', compact('ticket', 'corpsMaj'));
->view('emails.ticket-mention', compact('ticket', 'corpsMaj'));
}
}

View file

@ -40,6 +40,6 @@ class TicketUpdate extends Mailable
{
$ticket = $this->ticket;
$corpsMaj = Utils::plainToHtml($this->corpsMaj);
return $this->subject("[SupportWeb] Le ticket n°" . $ticket->id . " à été mis à jour")->view('mails.ticket-update', compact('ticket', 'corpsMaj'));
return $this->subject("[SupportWeb] Le ticket n°" . $ticket->id . " à été mis à jour")->view('emails.ticket-update', compact('ticket', 'corpsMaj'));
}
}