mirror of
https://github.com/pacnpal/thrillwiki_laravel.git
synced 2025-12-20 09:11:10 -05:00
Refactor Park model, update routes for parks management, and enhance database migrations for park areas and locations
This commit is contained in:
@@ -10,9 +10,16 @@ Route::get('/', function () {
|
||||
Route::get('/counter', Counter::class);
|
||||
|
||||
// Parks routes
|
||||
Route::get('/parks', function () {
|
||||
return 'Parks Index';
|
||||
})->name('parks.index');
|
||||
Route::get('/parks', \App\Livewire\ParkListComponent::class)->name('parks.index');
|
||||
Route::get('/parks/create', function () {
|
||||
return 'Create Park';
|
||||
})->name('parks.create');
|
||||
Route::get('/parks/{park}', function () {
|
||||
return 'Show Park';
|
||||
})->name('parks.show');
|
||||
Route::get('/parks/{park}/edit', function () {
|
||||
return 'Edit Park';
|
||||
})->name('parks.edit');
|
||||
|
||||
// Rides routes
|
||||
Route::get('/rides', function () {
|
||||
|
||||
Reference in New Issue
Block a user