I just started learning Umbraco, I have started small project just to learn Umbraco. I am having problem in creating custom controller. I have a link on my page for user to browse all the products:
@Html.ActionLink("View more", "Index", "Product", null, new { title = "Browse all Products" })
Controller
using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.Mvc;
using Umbraco.Web.Models;
using Umbraco.Web.Mvc;
namespace Test.Controllers
{
public class ProductController : Umbraco.Web.Mvc.RenderMvcController
{
public override ActionResult Index(RenderModel model)
{
return View("Products");
}
}
}
For some reason the web page show a the link with blank href
<a href="" title="Browse all Products">View more</a>