source:
branches/HiveStatistics/sources/HeuristicLab.Services.WebApp/Configs/RouteConfig.cs
@
12419
Last change on this file since 12419 was 12419, checked in by dglaser, 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.