diff options
Diffstat (limited to 'samples/RelyingPartyMvc/Controllers/HomeController.cs')
-rw-r--r-- | samples/RelyingPartyMvc/Controllers/HomeController.cs | 6 |
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"); }
}
}
|