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