Last active
March 20, 2018 09:01
-
-
Save sebastiantecsi/618b6ac2c9f0b3e4f4fb5fd8a77a1418 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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