summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--Project-Unite/Views/Blog/Index.cshtml2
1 files changed, 1 insertions, 1 deletions
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 @@
</ul>
}
}
-@foreach(var blog in Model)
+@foreach(var blog in Model.OrderByDescending(x=>x.PostedAt))
{
<div class="panel">
<div class="panel-body">