mirror of
https://bitbucket.org/studiotem/jandl-taskmanager-app.git
synced 2026-10-21 06:20:21 +00:00
links in email notifications
This commit is contained in:
1 parent
840e644d55
commit
c4d4a2c7e5
2 files changed
+35
-6
No files matched your search
+10
-3
@@ -1,7 +1,6 @@
|
||||
<?php
|
||||
|
||||
use App\Http\Resources\TeamCollection;
|
||||
use App\Models\Team;
|
||||
use App\Mail\NewTask;
|
||||
use Illuminate\Support\Facades\Route;
|
||||
|
||||
/*
|
||||
@@ -19,6 +18,15 @@ Route::get('/', function () {
|
||||
return view('welcome');
|
||||
});
|
||||
|
||||
Route::get('/send-email', function () {
|
||||
$subtask = \App\Models\SubTask::with('mastertask')->find(1622);
|
||||
|
||||
Mail::to('feher@studiotem.com')->send(new NewTask($subtask));
|
||||
|
||||
return 'Email has been sent';
|
||||
});
|
||||
|
||||
|
||||
Route::prefix('be')->group(function () {
|
||||
Route::get('/unauthenticated', function () {
|
||||
return response()->json([
|
||||
@@ -30,7 +38,6 @@ Route::prefix('be')->group(function () {
|
||||
$subtask = \App\Models\SubTask::with('mastertask')->find(1);
|
||||
|
||||
dd($subtask);
|
||||
|
||||
});
|
||||
});
|
||||
|
||||
|
||||
Reference in new issue
Block a user