urlsnail/routes/web.php

12 lines
265 B
PHP

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