Skip to content

Commit a55fbea

Browse files
committed
Issue #1198 fixed.
1 parent 8f35494 commit a55fbea

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

packages/Webkul/Admin/src/Http/Controllers/Mail/EmailController.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -167,7 +167,7 @@ public function store()
167167
Mail::send(new Email($email));
168168

169169
$this->emailRepository->update([
170-
'folders' => ['inbox', 'sent']
170+
'folders' => ['sent']
171171
], $email->id);
172172
} catch (\Exception $e) {}
173173
}
@@ -182,7 +182,7 @@ public function store()
182182

183183
session()->flash('success', trans('admin::app.mail.create-success'));
184184

185-
return redirect()->route('admin.mail.index', ['route' => 'inbox']);
185+
return redirect()->route('admin.mail.index', ['route' => 'sent']);
186186
}
187187

188188
/**

0 commit comments

Comments
 (0)