summaryrefslogtreecommitdiffstats
path: root/samples/RelyingPartyMvc/Controllers/HomeController.cs
diff options
context:
space:
mode:
authorAndrew Arnott <andrewarnott@gmail.com>2008-06-16 19:50:28 -0700
committerAndrew Arnott <andrewarnott@gmail.com>2008-06-16 19:50:28 -0700
commite1c75ebb2d9d0f22a8d76cc3d0ed187d5a603e28 (patch)
tree8424b884367e3ab9536f9935d539cf75dbccc884 /samples/RelyingPartyMvc/Controllers/HomeController.cs
parent5c1cd72bdb3a0df7608555ebde5008b35377f46c (diff)
downloadDotNetOpenAuth-e1c75ebb2d9d0f22a8d76cc3d0ed187d5a603e28.zip
DotNetOpenAuth-e1c75ebb2d9d0f22a8d76cc3d0ed187d5a603e28.tar.gz
DotNetOpenAuth-e1c75ebb2d9d0f22a8d76cc3d0ed187d5a603e28.tar.bz2
Updated ASP.NET MVC sample to Preview 3.
Diffstat (limited to 'samples/RelyingPartyMvc/Controllers/HomeController.cs')
-rw-r--r--samples/RelyingPartyMvc/Controllers/HomeController.cs6
1 files changed, 3 insertions, 3 deletions
diff --git a/samples/RelyingPartyMvc/Controllers/HomeController.cs b/samples/RelyingPartyMvc/Controllers/HomeController.cs
index 15ae689..65caae2 100644
--- a/samples/RelyingPartyMvc/Controllers/HomeController.cs
+++ b/samples/RelyingPartyMvc/Controllers/HomeController.cs
@@ -6,11 +6,11 @@ using System.Web.Mvc;
namespace RelyingPartyMvc.Controllers {
public class HomeController : Controller {
- public void Index() {
+ public ActionResult Index() {
Response.AppendHeader("X-XRDS-Location",
new Uri(Request.Url, Response.ApplyAppPathModifier("~/Home/xrds")).AbsoluteUri);
- RenderView("Index");
+ return View("Index");
}
- public void Xrds() { RenderView("Xrds"); }
+ public ActionResult Xrds() { return View("Xrds"); }
}
}