Thread: Errata
View Single Post
  #8 (permalink)  
Old October 4th, 2010, 10:08 PM
firedrawndagger firedrawndagger is offline
Registered User
 
Join Date: Oct 2010
Posts: 2
Thanks: 5
Thanked 0 Times in 0 Posts
Default Page 89

On the top of page 89 - they say to change the Inherits attribute like so:
Code:
<%@ Page Title="" Language="C#" MasterPageFile="~/Views/Shared/Site.Master" Inherits="System.Web.Mvc.ViewPage<NerdDinner.Controllers.DinnerFormViewModel>" %>
but shouldn't it be more like so?
Code:
<%@ Page Title="" Language="C#" MasterPageFile="~/Views/Shared/Site.Master" Inherits="System.Web.Mvc.ViewPage<NerdDinner.Models.DinnerFormViewModel>" %>
Because on page 94, DinnerFormViewModel reappears on the screenshot - and it clearly states NerdDinner.Models.DinnerFormViewModel

I swear this book is a mystery novel.