@ -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);
}