Created
June 18, 2009 18:01
-
-
Save kentaromiura/132065 to your computer and use it in GitHub Desktop.
Global.asax.cs
This file contains hidden or 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
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