<?php

use Illuminate\Support\Facades\Route;
use App\Http\Controllers\FollowUpController;
use App\Http\Controllers\NotificationController;

Route::middleware('auth')->group(function () {
    Route::post('/leads/{lead}/follow-ups', [FollowUpController::class, 'store'])->name('followups.store');
    Route::post('/follow-ups/{followUp}/complete', [FollowUpController::class, 'complete'])->name('followups.complete');

    Route::get('/notifications', [NotificationController::class, 'index'])->name('notifications.index');
    Route::post('/notifications/{notification}/read', [NotificationController::class, 'read'])->name('notifications.read');
});
