urlsnail/routes/web.php

12 lines
265 B
PHP
Raw Normal View History

2024-05-24 20:07:22 +00:00
<?php
use App\Http\Controllers\BookmarkController;
2024-05-24 20:07:22 +00:00
use Illuminate\Support\Facades\Route;
Route::get(
'/', function () {
return redirect()->action([BookmarkController::class, 'index']);
}
);
Route::resource('bookmarks', BookmarkController::class);