|
- <!--#include file="..\core\autoload_core.asp" -->
-
- <%
- ' Define starter application routes
- router.AddRoute "GET", "/home", "HomeController", "Index"
- router.AddRoute "GET", "/", "HomeController", "Index"
- router.AddRoute "GET", "", "HomeController", "Index"
- 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"))
- %>
|