From 5ecd4532f2eb7a44247e30b4a31dfeaba35c6b2e Mon Sep 17 00:00:00 2001 From: "sylor_huang@126.com" Date: Wed, 12 Aug 2020 10:42:19 +0800 Subject: [PATCH] Repair --- app/controllers/sync_forge_controller.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/controllers/sync_forge_controller.rb b/app/controllers/sync_forge_controller.rb index a6d266970..db44a3b8c 100644 --- a/app/controllers/sync_forge_controller.rb +++ b/app/controllers/sync_forge_controller.rb @@ -1,7 +1,7 @@ class SyncForgeController < ApplicationController # before_action :check_token - def + def sync_range_projects sync_counts = params[:sync_count] || 10 projects = Project.includes(:project_score, :repository) .where(is_public: true)