mirror of
https://gitlink.org.cn/Gitlink/forgeplus.git
synced 2026-05-03 03:40:49 +08:00
FIX 更改推荐项目排序方式
This commit is contained in:
@@ -177,7 +177,7 @@ class ProjectsController < ApplicationController
|
||||
end
|
||||
|
||||
def recommend
|
||||
@projects = Project.recommend.includes(:repository, :project_category, :owner).order(id: :desc)
|
||||
@projects = Project.recommend.includes(:repository, :project_category, :owner).order(visits: :desc)
|
||||
end
|
||||
|
||||
def about
|
||||
|
||||
Reference in New Issue
Block a user