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 #212 from Qoraiche/fix/route-errors
Browse files Browse the repository at this point in the history
Fix/route errors
  • Loading branch information
ReeceM authored Jun 25, 2022
2 parents def16b9 + 085d431 commit 8a38e3c
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 1 deletion.
2 changes: 1 addition & 1 deletion resources/views/sections/view-mailable.blade.php
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@
<td class="table-fit font-weight-sixhundred">Subject</td>
@if ( empty($resource['data']->subject) )
<td>
<span class="text-muted">No Subject Set, The default Namespace will be used. See <a href="https://laravel.com/docs/9.x/notifications#customizing-the-subject">Custom the subject</a></span>
<span class="text-muted">No Subject Set, The default Namespace will be used. See <a href="https://laravel.com/docs/9.x/notifications#customizing-the-subject">Customize the subject</a></span>
</td>
@else
<td>
Expand Down
5 changes: 5 additions & 0 deletions src/Http/Controllers/TemplatesController.php
Original file line number Diff line number Diff line change
Expand Up @@ -60,6 +60,11 @@ public function select(Request $request)
return View(MailEclipse::VIEW_NAMESPACE.'::sections.new-template', compact('skeletons'));
}

public function previewTemplateMarkdownView(Request $request)
{
return MailEclipse::previewMarkdownViewContent(false, $request->markdown, $request->name, true);
}

public function delete(Request $request)
{
if (MailEclipse::deleteTemplate($request->templateslug)) {
Expand Down

0 comments on commit 8a38e3c

Please sign in to comment.