|
|
@ -40,7 +40,4 @@ Route::get('/grain/{grainID}', [App\Http\Controllers\GraincardController::class, |
|
|
|
Route::get('/yeast/{yeastID}', [App\Http\Controllers\YeastcardController::class, 'index'])->name('yeast'); |
|
|
|
Route::get('/hop/{hopID}', [App\Http\Controllers\HopcardController::class, 'index'])->name('hop'); |
|
|
|
Route::get('/adjunct/{adjunctID}', [App\Http\Controllers\AdjunctcardController::class, 'index'])->name('adjunct'); |
|
|
|
Route::get('search.results', function(){ |
|
|
|
$searchresults = Search::sortable()->paginate(20); |
|
|
|
return view('search.results', compact('searchresults')); |
|
|
|
}); |
|
|
|
Route::get('search.results', [App\Http\Controllers\SearchController::class, 'search']); |