fixed shortcode edit issues plus refactoring
This commit is contained in:
@@ -8,6 +8,8 @@ use App\Models;
|
||||
use Spatie\Activitylog\Models\Activity;
|
||||
use Illuminate\Contracts\Mail\Mailer;
|
||||
use App\Jobs\SendTestEmail;
|
||||
use App\Notifications\EmailNotification;
|
||||
|
||||
|
||||
class UtilityController extends Controller
|
||||
{
|
||||
@@ -247,5 +249,16 @@ class UtilityController extends Controller
|
||||
|
||||
}
|
||||
|
||||
public function sendEmailNotification(Request $request){
|
||||
$user = Models\StaffMember::find(1);
|
||||
|
||||
// Create a new instance of your notification
|
||||
$notification = new EmailNotification('This is a test notification.', 'https://example.com');
|
||||
|
||||
// Send the notification
|
||||
$user->notify($notification);
|
||||
}
|
||||
|
||||
|
||||
}
|
||||
// https://www.tokyvideo.com/video/sheena-the-queen-of-the-jungle-1984-movie-with-tanya-roberts-ted-wass-donovan-scott
|
||||
|
||||
Reference in New Issue
Block a user