From 00c30791ea694611c35d96f219642f4b1ca55b4b Mon Sep 17 00:00:00 2001 From: harshgMSFT Date: Fri, 9 May 2014 16:09:51 -0700 Subject: [PATCH] Fixing LinkController in the sample --- samples/MvcSample.Web/LinkController.cs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/samples/MvcSample.Web/LinkController.cs b/samples/MvcSample.Web/LinkController.cs index 07a5287518..a8ed612017 100644 --- a/samples/MvcSample.Web/LinkController.cs +++ b/samples/MvcSample.Web/LinkController.cs @@ -17,8 +17,8 @@ namespace MvcSample.Web public string Get() { - // Creates a url like: http://localhost:58195/Home/Details#CoolBeans! - return Url.RouteUrl("CoolBeansRoute", new { controller = "Home", action = "Details" }, protocol: "http", host: null, fragment: "CoolBeans!"); + // Creates a url like: http://localhost:58195/Home/Create#CoolBeans! + return Url.RouteUrl(null, new { controller = "Home", action = "Create" }, protocol: "http", host: null, fragment: "CoolBeans!"); } public string Link1()