In the Footer.cshtml file I placed this code in
<a href="@Url.RouteUrl("Terms")">Terms of use</a>
I also created a Controller and placed the following code
using System.Web.Mvc;
namespace Nop.Web.Controllers
{
public class TermsController : BaseNopController
{
public ActionResult Index()
{
return View();
}
}
}
Problem is is that now the site won't even load So what is it that I am doing wrong or forgetting.
If I remove the
<a href="@Url.RouteUrl("Terms")">Terms of use</a>
Than the site will load but obviously there is no link to the Terms of use at that point.