From 204703ae92581f843876e32e0c2369e3ecf1aee8 Mon Sep 17 00:00:00 2001 From: "Rodrigo Rodriguez (Pragmatismo)" Date: Tue, 13 Jan 2026 23:02:51 -0300 Subject: [PATCH] Fix duplicate UI routes in calendar - keep only in ui.rs --- src/calendar/mod.rs | 4 ---- 1 file changed, 4 deletions(-) diff --git a/src/calendar/mod.rs b/src/calendar/mod.rs index 49f36ba49..973df309c 100644 --- a/src/calendar/mod.rs +++ b/src/calendar/mod.rs @@ -1009,8 +1009,4 @@ pub fn configure_calendar_routes() -> Router> { .route(ApiUrls::CALENDAR_EVENTS, get(list_events).post(create_event)) .route(ApiUrls::CALENDAR_EVENT_BY_ID, get(get_event).put(update_event).delete(delete_event)) .route(ApiUrls::CALENDAR_UPCOMING_JSON, get(upcoming_events_api)) - .route(ApiUrls::CALENDAR_CALENDARS, get(list_calendars_html)) - .route(ApiUrls::CALENDAR_UPCOMING, get(upcoming_events_html)) - .route(ApiUrls::CALENDAR_NEW_EVENT_FORM, get(new_event_form)) - .route(ApiUrls::CALENDAR_NEW_CALENDAR_FORM, get(new_calendar_form)) }