FIX dismiss num for recommend projects api
This commit is contained in:
parent
2cca2c756e
commit
c2d7d8289e
|
@ -167,7 +167,7 @@ class ProjectsController < ApplicationController
|
||||||
end
|
end
|
||||||
|
|
||||||
def recommend
|
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
|
end
|
||||||
|
|
||||||
def about
|
def about
|
||||||
|
|
Loading…
Reference in New Issue