direct links

This commit is contained in:
Benjamin Takats
2023-01-17 20:07:23 +01:00
parent 42a8f4b65b
commit c9c7119c3a
2 changed files with 8 additions and 13 deletions

View File

@@ -13,13 +13,12 @@ class MeetupTable extends Component
public function filterByMarker($id)
{
return to_route('meetup.table.meetup', [
'country' => $this->country->code,
'table' => [
'filters' => [
'byid' => $id,
],
]
$meetup = Meetup::with(['city.country'])
->find($id);
return to_route('meetup.landing', [
'country' => $meetup->city->country->code,
'meetup' => $meetup,
]);
}