Skip to content

Instantly share code, notes, and snippets.

@trnktms
Last active April 6, 2017 13:56
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save trnktms/1efe338122855402a14103f1c361948b to your computer and use it in GitHub Desktop.
Save trnktms/1efe338122855402a14103f1c361948b to your computer and use it in GitHub Desktop.
using Sitecore.Pipelines;
using System.Web.Mvc;
using System.Web.Routing;
namespace MyProject.Pipelines
{
public class RegisterRoutes
{
public void Process(PipelineArgs args)
{
RouteTable.Routes.MapRoute("SimpleField", "myFields/SimpleField/Render", new { controller = "SimpleField", action = "Render" });
}
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment