FIX dismiss num for recommend projects api

This commit is contained in:
jasder 2021-05-13 14:53:46 +08:00
parent 2cca2c756e
commit c2d7d8289e
1 changed files with 1 additions and 1 deletions

View File

@ -167,7 +167,7 @@ class ProjectsController < ApplicationController
end
def recommend
@projects = Project.recommend.includes(:repository, :project_category, :owner).order(id: :desc).limit(5)
@projects = Project.recommend.includes(:repository, :project_category, :owner).order(id: :desc)
end
def about