Free cookie consent management tool by TermsFeed Policy Generator

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

#2394 added web app and status page to trunk

File size: 476 bytes
Line 
1using System.Web.Mvc;
2using System.Web.Routing;
3
4namespace 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.