Files
bandtoolv2/routes/bewerbung_routes.php
T

9 lines
416 B
PHP

<?php
use App\Http\Controllers\BewerbungController;
use App\Http\Controllers\BandApplicationController;
Route::get('/bewerbung', [BewerbungController::class, 'index'])->name('bewerbung.index');
Route::get('/bewerbung/{bewerbung:slug}', [BewerbungController::class, 'show'])->name('bewerbung.show');
Route::post('/bewerbung/{bewerbung:slug}/apply', [BandApplicationController::class, 'store'])->name('band.apply');