osb/app/Http/Controllers/WelcomeController.php

18 lines
335 B
PHP
Raw Normal View History

2018-05-20 12:53:14 +00:00
<?php
namespace App\Http\Controllers;
use Illuminate\Http\Request;
use Illuminate\Support\Facades\Log;
2018-05-20 12:53:14 +00:00
class WelcomeController extends Controller
{
2021-06-29 00:37:24 +00:00
public function home() {
return view('welcome.home');
2018-05-20 12:53:14 +00:00
}
public function webhook(Request $request)
{
Log::channel('webhook')->debug('Webhook event',['request'=>$request]);
}
2018-05-20 12:53:14 +00:00
}