diff --git a/app/Http/Controllers/SearchController.php b/app/Http/Controllers/SearchController.php index bbdef61..24651a9 100644 --- a/app/Http/Controllers/SearchController.php +++ b/app/Http/Controllers/SearchController.php @@ -18,9 +18,9 @@ use Kyslik\ColumnSortable\Sortable; class SearchController extends Controller { - public function index(Search $search) + public function index(Beer $beer) { - $results = $search->sortable()->paginate(10); + $results = $beer->sortable()->paginate(10); return view('search.results')->with('results', $results); }