You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

19 line
863B

  1. <!--#include file="..\core\autoload_core.asp" -->
  2. <%
  3. ' Define starter application routes
  4. router.AddRoute "GET", "/home", "HomeController", "Index"
  5. router.AddRoute "GET", "/", "HomeController", "Index"
  6. router.AddRoute "GET", "", "HomeController", "Index"
  7. router.AddRoute "GET", "/404", "ErrorController", "NotFound"
  8. router.AddRoute "GET", "/request-order", "RequestOrderController", "Index"
  9. router.AddRoute "POST", "/request-order", "RequestOrderController", "Create"
  10. router.AddRoute "GET", "/order/continue", "OrderController", "Continue"
  11. router.AddRoute "POST", "/order/submit", "OrderApiController", "SubmitOrderDetails"
  12. ' Dispatch the request (resolves route and executes controller action)
  13. MVC.DispatchRequest Request.ServerVariables("REQUEST_METHOD"), _
  14. TrimQueryParams(Request.ServerVariables("HTTP_X_ORIGINAL_URL"))
  15. %>

Powered by TurnKey Linux.