<% ' Home routes router.AddRoute "GET", "/home", "HomeController", "Index" router.AddRoute "GET", "/", "HomeController", "Index" router.AddRoute "GET", "", "HomeController", "Index" ' Auth routes (Keycloak OpenID Connect) router.AddRoute "GET", "/auth/login", "AuthController", "Login" router.AddRoute "GET", "/auth/callback", "AuthController", "Callback" router.AddRoute "GET", "/auth/logout", "AuthController", "Logout" ' Board routes router.AddRoute "GET", "/boards", "BoardsController", "Index" router.AddRoute "GET", "/boards/create", "BoardsController", "Create" router.AddRoute "POST", "/boards", "BoardsController", "Store" router.AddRoute "GET", "/board/:slug", "BoardsController", "Show" router.AddRoute "GET", "/board/:slug/edit", "BoardsController", "Edit" router.AddRoute "POST", "/board/:slug/update", "BoardsController", "Update" router.AddRoute "POST", "/board/:slug/delete", "BoardsController", "Destroy" ' Column routes (JSON) router.AddRoute "POST", "/columns", "ColumnsController", "Store" router.AddRoute "POST", "/columns/reorder", "ColumnsController", "Reorder" router.AddRoute "POST", "/columns/:id", "ColumnsController", "Update" router.AddRoute "POST", "/columns/:id/delete", "ColumnsController", "Destroy" ' Swim lane routes (JSON) router.AddRoute "POST", "/swimlanes", "SwimLanesController", "Store" router.AddRoute "POST", "/swimlanes/reorder", "SwimLanesController", "Reorder" router.AddRoute "POST", "/swimlanes/:id", "SwimLanesController", "Update" router.AddRoute "POST", "/swimlanes/:id/delete", "SwimLanesController", "Destroy" ' Card routes (JSON) router.AddRoute "POST", "/cards", "CardsController", "Store" router.AddRoute "POST", "/cards/:id", "CardsController", "Update" router.AddRoute "POST", "/cards/:id/move", "CardsController", "Move" router.AddRoute "POST", "/cards/:id/delete", "CardsController", "Destroy" router.AddRoute "GET", "/404", "ErrorController", "NotFound" ' Dispatch the request (resolves route and executes controller action) MVC.DispatchRequest Request.ServerVariables("REQUEST_METHOD"), _ TrimQueryParams(Request.ServerVariables("HTTP_X_ORIGINAL_URL")) %>