Download attachments
This commit is contained in:
@ -11,8 +11,12 @@ class Emails
|
||||
{
|
||||
return $view->render($response, 'emails.mailboxes');
|
||||
}
|
||||
public function messages(ServerRequestInterface $request, ResponseInterface $response, View $view, string $mailbox): ResponseInterface
|
||||
public function messages(ServerRequestInterface $request, ResponseInterface $response, View $view, int $mailbox_id): ResponseInterface
|
||||
{
|
||||
return $view->render($response, 'emails.messages', ['mailbox_id' => $mailbox]);
|
||||
return $view->render($response, 'emails.messages', compact('mailbox_id'));
|
||||
}
|
||||
public function show(ServerRequestInterface $request, ResponseInterface $response, View $view, int $message_id): ResponseInterface
|
||||
{
|
||||
return $view->render($response, 'emails.show', compact('message_id'));
|
||||
}
|
||||
}
|
Reference in New Issue
Block a user