group(function () { Route::get('/', [HoroscopesController::class, 'index'])->name('horoscope.index'); Route::get('/create', [HoroscopesController::class, 'create'])->name('horoscope.create'); Route::post('/store', [HoroscopesController::class, 'store'])->name('horoscope.store'); Route::post('/sort', [HoroscopesController::class, 'sort'])->name('horoscope.sort'); Route::post('/updatealias', [HoroscopesController::class, 'updatealias'])->name('horoscope.updatealias'); Route::get('/show/{id}', [HoroscopesController::class, 'show'])->name('horoscope.show'); Route::get('/edit/{id}', [HoroscopesController::class, 'edit'])->name('horoscope.edit') ; Route::post('/update/{id}', [HoroscopesController::class, 'update'])->name('horoscope.update'); Route::delete('/destroy/{id}', [HoroscopesController::class, 'destroy'])->name('horoscope.destroy'); Route::get('/toggle/{id}', [HoroscopesController::class, 'toggle'])->name('horoscope.toggle'); });