FIX code review
This commit is contained in:
		
							parent
							
								
									4643d2387c
								
							
						
					
					
						commit
						c67686bdf5
					
				| 
						 | 
					@ -167,7 +167,7 @@ class ProjectsController < ApplicationController
 | 
				
			||||||
  end
 | 
					  end
 | 
				
			||||||
 | 
					
 | 
				
			||||||
  def recommend
 | 
					  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
 | 
					  end
 | 
				
			||||||
 | 
					
 | 
				
			||||||
  def about
 | 
					  def about
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
| 
						 | 
					@ -392,7 +392,6 @@ Rails.application.routes.draw do
 | 
				
			||||||
          get :files
 | 
					          get :files
 | 
				
			||||||
          get :detail
 | 
					          get :detail
 | 
				
			||||||
          get :archive
 | 
					          get :archive
 | 
				
			||||||
          get :top_counts
 | 
					 | 
				
			||||||
          get :entries
 | 
					          get :entries
 | 
				
			||||||
          match :sub_entries, :via => [:get, :put]
 | 
					          match :sub_entries, :via => [:get, :put]
 | 
				
			||||||
          get :commits
 | 
					          get :commits
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
		Loading…
	
		Reference in New Issue