Update site URL to be the bookmark index

This commit is contained in:
Annika Backstrom 2024-05-25 16:04:31 +01:00
parent b6ac33f73e
commit ca62dfafdc
Signed by: annika
GPG Key ID: 3561F004DE1D9AFE

View File

@ -3,10 +3,5 @@
use App\Http\Controllers\BookmarkController; use App\Http\Controllers\BookmarkController;
use Illuminate\Support\Facades\Route; use Illuminate\Support\Facades\Route;
Route::get( Route::get('/', [BookmarkController::class, 'index']);
'/', function () { Route::resource('bookmarks', BookmarkController::class)->except(['index']);
return view('welcome');
}
);
Route::resource('bookmarks', BookmarkController::class);