Skip to content

Instantly share code, notes, and snippets.

@kentaromiura
Created June 18, 2009 18:01
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 kentaromiura/132065 to your computer and use it in GitHub Desktop.
Save kentaromiura/132065 to your computer and use it in GitHub Desktop.
Global.asax.cs
public class MvcApplication : System.Web.HttpApplication
{
public static void RegisterRoutes(RouteCollection routes)
{
// ...
routes.MapRoute(
"less",
"less.mvc/{action}/{name}.css",
new { controller = "Less", action = "Show" }
);
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment