mirror of
https://gitlink.org.cn/Gitlink/forgeplus.git
synced 2026-05-03 03:40:49 +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
|
||||
|
||||
@@ -392,7 +392,6 @@ Rails.application.routes.draw do
|
||||
get :files
|
||||
get :detail
|
||||
get :archive
|
||||
get :top_counts
|
||||
get :entries
|
||||
match :sub_entries, :via => [:get, :put]
|
||||
get :commits
|
||||
|
||||
Reference in New Issue
Block a user