source:
trunk/sources/HeuristicLab.Services.WebApp/3.3/Configs/RouteConfig.cs
@
12428
Last change on this file since 12428 was 12428, checked in by ascheibe, 9 years ago | |
---|---|
File size: 476 bytes |
Line | |
---|---|
1 | using System.Web.Mvc; |
2 | using System.Web.Routing; |
3 | |
4 | namespace HeuristicLab.Services.WebApp.Configs { |
5 | public class RouteConfig { |
6 | public static void RegisterRoutes(RouteCollection routes) { |
7 | routes.IgnoreRoute("{resource}.axd/{*pathInfo}"); |
8 | |
9 | routes.MapRoute( |
10 | name: "Default", |
11 | url: "{controller}/{action}/{id}", |
12 | defaults: new { controller = "App", action = "Index", id = UrlParameter.Optional } |
13 | ); |
14 | } |
15 | } |
16 | } |
Note: See TracBrowser
for help on using the repository browser.