From 89db4e35ac445a51b85a1bc4e8aad689f0f10f24 Mon Sep 17 00:00:00 2001 From: xxq250 Date: Sun, 12 Mar 2023 10:35:42 +0800 Subject: [PATCH] =?UTF-8?q?log=E8=B7=9F=E8=B8=AA?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- app/controllers/forks_controller.rb | 1 + 1 file changed, 1 insertion(+) diff --git a/app/controllers/forks_controller.rb b/app/controllers/forks_controller.rb index 20688c7d..45972aa3 100644 --- a/app/controllers/forks_controller.rb +++ b/app/controllers/forks_controller.rb @@ -5,6 +5,7 @@ class ForksController < ApplicationController before_action :authenticate_project!, :authenticate_user! def create + puts "authenticate_project1111111=======================#{current_user&.id == @project.user_id}" @new_project = Projects::ForkService.new(current_user, @project, params[:organization]).call # TODO: fix Educoder shixun