Переглянути джерело

Make the site more editorial

master
nano 6 дні тому
джерело
коміт
8918766eee
1 змінених файлів з 3 додано та 0 видалено
  1. +3
    -0
      app/controllers/HomeController.asp

+ 3
- 0
app/controllers/HomeController.asp Переглянути файл

@@ -25,6 +25,9 @@ Class HomeController_Class
End Property

Public Sub index()
Dim posts, categories
Set posts = PostsRepository().FindAllWhere("IsPublished = 1", "PublishedDate DESC", 0, 5)
Set categories = CategoriesRepository().Find(Empty, "Name")
%>
<!--#include file="../views/Home/index.asp" -->
<%


Завантаження…
Відмінити
Зберегти

Powered by TurnKey Linux.