Просмотр исходного кода

Make the site more editorial

master
nano 6 дней назад
Родитель
Сommit
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.