Add routes, controllers, models and views
This commit is contained in:
parent
dd9f4c794f
commit
7423727fe1
1 changed files with 12 additions and 0 deletions
12
routes/web.php
Normal file
12
routes/web.php
Normal file
|
|
@ -0,0 +1,12 @@
|
|||
<?php
|
||||
|
||||
use Illuminate\Support\Facades\Route;
|
||||
use App\Http\Controllers\WebhookController;
|
||||
use App\Http\Controllers\DashboardController;
|
||||
|
||||
Route::get('/', function () {
|
||||
return redirect('/dashboard');
|
||||
});
|
||||
|
||||
Route::get('/dashboard', [DashboardController::class, 'index']);
|
||||
Route::post('/webhook', [WebhookController::class, 'handle']);
|
||||
Loading…
Add table
Reference in a new issue