Skip to content

Instantly share code, notes, and snippets.

@sebastiantecsi
Last active March 20, 2018 09:01
Embed
What would you like to do?
namespace Sitecore.Feature.Demo.Pipelines
{
using System.Web.Mvc;
using System.Web.Routing;
using Sitecore.Pipelines;
public class RegisterWebApiRoutes
{
public void Process(PipelineArgs args)
{
RouteTable.Routes.MapRoute("Feature.Demo.Api", "api/demo/{action}", new
{
controller = "Demo"
});
}
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment