diff options
author | Guillaume <guillaumelacasa@hotmail.com> | 2013-06-12 22:12:40 +0200 |
---|---|---|
committer | Guillaume <guillaumelacasa@hotmail.com> | 2013-06-12 22:12:40 +0200 |
commit | b06c0faaf8881f9447f3fd682feffcf3ddae1990 (patch) | |
tree | 5e1b02b441e672171d2438e09880484131991a2f /TwoStepsAuthenticator.TestWebsite/App_Start/RouteConfig.cs | |
parent | 9cfb653f0b1ddcdc221a3abcb9e16769e0ab1d71 (diff) | |
download | TwoStepsAuthenticator-b06c0faaf8881f9447f3fd682feffcf3ddae1990.zip TwoStepsAuthenticator-b06c0faaf8881f9447f3fd682feffcf3ddae1990.tar.gz TwoStepsAuthenticator-b06c0faaf8881f9447f3fd682feffcf3ddae1990.tar.bz2 |
Test site ok
Diffstat (limited to 'TwoStepsAuthenticator.TestWebsite/App_Start/RouteConfig.cs')
-rw-r--r-- | TwoStepsAuthenticator.TestWebsite/App_Start/RouteConfig.cs | 23 |
1 files changed, 23 insertions, 0 deletions
diff --git a/TwoStepsAuthenticator.TestWebsite/App_Start/RouteConfig.cs b/TwoStepsAuthenticator.TestWebsite/App_Start/RouteConfig.cs new file mode 100644 index 0000000..cdacdd2 --- /dev/null +++ b/TwoStepsAuthenticator.TestWebsite/App_Start/RouteConfig.cs @@ -0,0 +1,23 @@ +using System; +using System.Collections.Generic; +using System.Linq; +using System.Web; +using System.Web.Mvc; +using System.Web.Routing; + +namespace TwoStepsAuthenticator.TestWebsite +{ + public class RouteConfig + { + public static void RegisterRoutes(RouteCollection routes) + { + routes.IgnoreRoute("{resource}.axd/{*pathInfo}"); + + routes.MapRoute( + name: "Default", + url: "{controller}/{action}/{id}", + defaults: new { controller = "Home", action = "Index", id = UrlParameter.Optional } + ); + } + } +}
\ No newline at end of file |