lot of new functionalities
This commit is contained in:
11
servers/web/calendars_routes.go
Normal file
11
servers/web/calendars_routes.go
Normal file
@@ -0,0 +1,11 @@
|
||||
package web
|
||||
|
||||
import (
|
||||
"github.com/gorilla/mux"
|
||||
)
|
||||
|
||||
func (ws *WebServer) setupCalendarsRoutes(r *mux.Router) {
|
||||
calendars_router := r.PathPrefix("/api/calendars").Subrouter()
|
||||
calendars_router.HandleFunc("/global.ics", ws.webAPIHandler.CalendarGlobal)
|
||||
calendars_router.HandleFunc("/organizations/{groupid}.ics", ws.webAPIHandler.CalendarOrganizations)
|
||||
}
|
||||
Reference in New Issue
Block a user