Browse Source

first iteration of search functionality - likely to fail hard

master
jk 3 years ago
parent
commit
8bb7e65a6b
  1. 2
      resources/views/search/results.blade.php

2
resources/views/search/results.blade.php

@ -22,7 +22,7 @@
</thead> </thead>
<tbody> <tbody>
@foreach ($beers as $beer)
@foreach ($results as $result)
<tr> <tr>
<td><a href="/beer/{{$results->beer_id}}">{{$results->name}}</a> </td> <td><a href="/beer/{{$results->beer_id}}">{{$results->name}}</a> </td>
<td><a href="/brewery/{{$results->brewery_id}}">{{$results->brewery}}</a> </td> <td><a href="/brewery/{{$results->brewery_id}}">{{$results->brewery}}</a> </td>

Loading…
Cancel
Save