mirror of
https://github.com/Einundzwanzig-Podcast/einundzwanzig-portal.git
synced 2025-12-11 06:46:47 +00:00
direct links
This commit is contained in:
@@ -13,13 +13,12 @@ class MeetupTable extends Component
|
|||||||
|
|
||||||
public function filterByMarker($id)
|
public function filterByMarker($id)
|
||||||
{
|
{
|
||||||
return to_route('meetup.table.meetup', [
|
$meetup = Meetup::with(['city.country'])
|
||||||
'country' => $this->country->code,
|
->find($id);
|
||||||
'table' => [
|
|
||||||
'filters' => [
|
return to_route('meetup.landing', [
|
||||||
'byid' => $id,
|
'country' => $meetup->city->country->code,
|
||||||
],
|
'meetup' => $meetup,
|
||||||
]
|
|
||||||
]);
|
]);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
@@ -17,13 +17,9 @@ class WorldMap extends Component
|
|||||||
$meetup = Meetup::with(['city.country'])
|
$meetup = Meetup::with(['city.country'])
|
||||||
->find($id);
|
->find($id);
|
||||||
|
|
||||||
return to_route('meetup.table.meetup', [
|
return to_route('meetup.landing', [
|
||||||
'country' => $meetup->city->country->code,
|
'country' => $meetup->city->country->code,
|
||||||
'table' => [
|
'meetup' => $meetup,
|
||||||
'filters' => [
|
|
||||||
'byid' => $id,
|
|
||||||
],
|
|
||||||
]
|
|
||||||
]);
|
]);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user