Fix duplicate UI routes in calendar - keep only in ui.rs
This commit is contained in:
parent
d3a3811c07
commit
204703ae92
1 changed files with 0 additions and 4 deletions
|
|
@ -1009,8 +1009,4 @@ pub fn configure_calendar_routes() -> Router<Arc<AppState>> {
|
|||
.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))
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue