mirror of
https://gitlink.org.cn/Gitlink/forgeplus.git
synced 2026-05-13 00:06:01 +08:00
FIX code review
This commit is contained in:
@@ -167,7 +167,7 @@ class ProjectsController < ApplicationController
|
||||
end
|
||||
|
||||
def recommend
|
||||
@projects = Project.recommend.includes(:repository, :project_category, :owner).limit(5)
|
||||
@projects = Project.recommend.includes(:repository, :project_category, :owner).order(id: :desc).limit(5)
|
||||
end
|
||||
|
||||
def about
|
||||
|
||||
Reference in New Issue
Block a user