mirror of
https://github.com/HolgerHatGarKeineNode/einundzwanzig-app.git
synced 2025-12-14 12:06:46 +00:00
✨ Add meetup/ical route and handler in MeetupController
- Introduced a new route `meetup/ical` in `api.php` to handle iCal data export. - Added `ical` method to `MeetupController` returning a 404 response for now.
This commit is contained in:
@@ -10,6 +10,11 @@ use Illuminate\Http\Request;
|
||||
|
||||
class MeetupController extends Controller
|
||||
{
|
||||
public function ical()
|
||||
{
|
||||
abort(404);
|
||||
}
|
||||
|
||||
public function index(Request $request)
|
||||
{
|
||||
$myMeetupIds = User::query()->find($request->input('user_id'))->meetups->pluck('id');
|
||||
|
||||
Reference in New Issue
Block a user