mirror of
https://github.com/aaru-dps/Aaru.git
synced 2025-12-16 19:24:25 +00:00
16 lines
444 B
C#
16 lines
444 B
C#
using System.Web.Mvc;
|
|
using System.Web.Routing;
|
|
|
|
namespace DiscImageChef.Server
|
|
{
|
|
public class RouteConfig
|
|
{
|
|
public static void RegisterRoutes(RouteCollection routes)
|
|
{
|
|
routes.IgnoreRoute("{resource}.axd/{*pathInfo}");
|
|
|
|
routes.MapRoute("Default", "{controller}/{action}/{id}",
|
|
new {controller = "Home", action = "Index", id = UrlParameter.Optional});
|
|
}
|
|
}
|
|
} |