Browse Source

first iteration of search functionality - likely to fail hard

master
jk 3 years ago
parent
commit
139298b7e6
  1. 3
      routes/web.php

3
routes/web.php

@ -40,5 +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::post('search.results', [App\Http\Controllers\SearchController::class, 'search'])->name('search.results');
Route::get('search.results', [App\Http\Controllers\SearchController::class, 'index'])->name('search.results');
Route::match(['get','post'], 'search.results', [App\Http\Controllers\SearchController::class, 'search'])->name('search.results');
Loading…
Cancel
Save