summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAndrew Arnott <andrewarnott@gmail.com>2009-04-18 21:27:50 -0700
committerAndrew Arnott <andrewarnott@gmail.com>2009-05-21 06:59:52 -0700
commitbaa8dcc4fb574fe81ae701eb9020d10684158781 (patch)
treef7e5c9e967107214663f0222e4951ab64d965511
parent72172af6db41a234731c8fe13e25b55b0ceaf7d1 (diff)
downloadDotNetOpenAuth-baa8dcc4fb574fe81ae701eb9020d10684158781.zip
DotNetOpenAuth-baa8dcc4fb574fe81ae701eb9020d10684158781.tar.gz
DotNetOpenAuth-baa8dcc4fb574fe81ae701eb9020d10684158781.tar.bz2
Added root route to MVC sample.
-rw-r--r--samples/OpenIdRelyingPartyMvc/Global.asax.cs5
1 files changed, 5 insertions, 0 deletions
diff --git a/samples/OpenIdRelyingPartyMvc/Global.asax.cs b/samples/OpenIdRelyingPartyMvc/Global.asax.cs
index a43b734..b8524e8 100644
--- a/samples/OpenIdRelyingPartyMvc/Global.asax.cs
+++ b/samples/OpenIdRelyingPartyMvc/Global.asax.cs
@@ -17,6 +17,11 @@
"Default", // Route name
"{controller}/{action}/{id}", // URL with parameters
new { controller = "Home", action = "Index", id = string.Empty }); // Parameter defaults
+
+ routes.MapRoute(
+ "Root",
+ "",
+ new { controller = "Home", action = "Index", id = string.Empty });
}
protected void Application_Start(object sender, EventArgs e) {