From e268cb312e00d08526c626cf6bbd78980e0a65ca Mon Sep 17 00:00:00 2001 From: Michael Date: Wed, 17 May 2017 18:37:30 -0400 Subject: [PATCH] order blog entries by post date --- Project-Unite/Views/Blog/Index.cshtml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Project-Unite/Views/Blog/Index.cshtml b/Project-Unite/Views/Blog/Index.cshtml index 5e65f22..ee5d205 100644 --- a/Project-Unite/Views/Blog/Index.cshtml +++ b/Project-Unite/Views/Blog/Index.cshtml @@ -16,7 +16,7 @@ } } -@foreach(var blog in Model) +@foreach(var blog in Model.OrderByDescending(x=>x.PostedAt)) {