Add routes, controllers, models and views
This commit is contained in:
parent
0814e60b9d
commit
683a041cbb
1 changed files with 15 additions and 0 deletions
15
app/Http/Controllers/DashboardController.php
Normal file
15
app/Http/Controllers/DashboardController.php
Normal file
|
|
@ -0,0 +1,15 @@
|
||||||
|
<?php
|
||||||
|
|
||||||
|
namespace App\Http\Controllers;
|
||||||
|
|
||||||
|
use Illuminate\Http\Request;
|
||||||
|
use App\Models\WebhookEntry;
|
||||||
|
|
||||||
|
class DashboardController extends Controller
|
||||||
|
{
|
||||||
|
public function index()
|
||||||
|
{
|
||||||
|
$entries = WebhookEntry::orderBy('id', 'desc')->get();
|
||||||
|
return view('dashboard', compact('entries'));
|
||||||
|
}
|
||||||
|
}
|
||||||
Loading…
Add table
Reference in a new issue