I get this error, when I'm trying to run the site.
The controller type UmbracoBootstrapProject.Controllers.SiteLayoutControllers
does not follow conventions, MVC Controller class names must be suffixed with the term 'Controller'
namespace UmbracoBootstrapProject.Controllers
{
public class SiteLayoutControllers : SurfaceController
{
private const string PARTIAL_VIEW_FOLDER = "~/Views/Partials/SiteLayout/";
public ActionResult RenderHeader()
{
return PartialView(PARTIAL_VIEW_FOLDER + "_Header.cshtml");
}
public ActionResult RenderFooter()
{
return PartialView(PARTIAL_VIEW_FOLDER + "_Footer.cshtml");
}
}
}