Skip to content
This repository has been archived by the owner on Jun 3, 2024. It is now read-only.

Commit

Permalink
Merge pull request #43 from SUKOHI/hotfix/v1.2.4/mailable_deletion
Browse files Browse the repository at this point in the history
Fixed a bug (deleting mailables)
  • Loading branch information
Qoraiche authored Jul 12, 2019
2 parents de3b8bb + bbe31d2 commit 42f2522
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Http/Controllers/MailablesController.php
Original file line number Diff line number Diff line change
Expand Up @@ -134,7 +134,7 @@ public function previewMailable($name)

public function delete(Request $request)
{
$mailableFile = config('maileclipse.mail_dir').$request->mailablename.'.php';
$mailableFile = config('maileclipse.mailables_dir').$request->mailablename.'.php';

if (file_exists($mailableFile)) {
unlink($mailableFile);
Expand Down

0 comments on commit 42f2522

Please sign in to comment.