Download attachments
This commit is contained in:
@ -2,9 +2,12 @@
|
||||
use ProVM\Common\Controller\Emails;
|
||||
|
||||
$app->group('/emails', function($app) {
|
||||
$app->group('/mailbox/{mailbox}', function ($app) {
|
||||
$app->group('/mailbox/{mailbox_id}', function($app) {
|
||||
$app->get('[/]', [Emails::class, 'messages']);
|
||||
});
|
||||
$app->group('/message/{message_id}', function($app) {
|
||||
$app->get('[/]', [Emails::class, 'show']);
|
||||
});
|
||||
$app->get('/mailboxes', Emails::class);
|
||||
$app->get('[/]', Emails::class);
|
||||
});
|
||||
|
Reference in New Issue
Block a user