Skip to content

Commit 3775449

Browse files
DevExpressExampleBotDevExpressExampleBot
authored andcommitted
Source auto update [skip ci]
1 parent 00d23c8 commit 3775449

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

VB/MvcCustomTextForInternalDashboardErrors/App_Start/RouteConfig.vb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ Namespace MvcCustomTextForInternalDashboardErrors
1111
Public Shared Sub RegisterRoutes(ByVal routes As RouteCollection)
1212
routes.IgnoreRoute("{resource}.axd/{*pathInfo}")
1313

14-
routes.MapRoute(name:= "Default", url:= "{controller}/{action}/{id}", defaults:= New With {Key .controller = "Default", Key .action = "Index", Key .id = UrlParameter.Optional})
14+
routes.MapRoute(name:= "Default", url:= "{controller}/{action}/{id}", defaults:= New With {Key .controller = "Home", Key .action = "Index", Key .id = UrlParameter.Optional})
1515
End Sub
1616
End Class
1717
End Namespace

VB/MvcThrowCustomExceptionDashboardErrorToast/App_Start/RouteConfig.vb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ Namespace MvcThrowCustomExceptionDashboardErrorToast
1111
Public Shared Sub RegisterRoutes(ByVal routes As RouteCollection)
1212
routes.IgnoreRoute("{resource}.axd/{*pathInfo}")
1313

14-
routes.MapRoute(name:= "Default", url:= "{controller}/{action}/{id}", defaults:= New With {Key .controller = "Default", Key .action = "Index", Key .id = UrlParameter.Optional})
14+
routes.MapRoute(name:= "Default", url:= "{controller}/{action}/{id}", defaults:= New With {Key .controller = "Home", Key .action = "Index", Key .id = UrlParameter.Optional})
1515
End Sub
1616
End Class
1717
End Namespace

0 commit comments

Comments
 (0)