FIX 更改推荐项目排序方式
This commit is contained in:
parent
fcf8033fbf
commit
8133fcd37a
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue