Update Models according to DB change
[wsti_pai.git] / Projects / Views / Projects / Index.cshtml
index bed3736c9469a1572f0f8c25a78dbdc7e04b6cbd..00a00d43dd0d0ee8285478193c2cc55cbe587150 100644 (file)
@@ -24,7 +24,7 @@
             @Html.DisplayNameFor(model => model.updated_at)
         </th>
         <th>
-            @Html.DisplayNameFor(model => model.ProjectUser.login)
+            @Html.DisplayNameFor(model => model.User.login)
         </th>
         <th></th>
     </tr>
@@ -44,7 +44,7 @@
             @Html.DisplayFor(modelItem => item.updated_at)
         </td>
         <td>
-            @Html.DisplayFor(modelItem => item.ProjectUser.login)
+            @Html.DisplayFor(modelItem => item.User.login)
         </td>
         <td>
             @Html.ActionLink("Edit", "Edit", new { id=item.id }) |