mirror of
https://gitlink.org.cn/Gitlink/forgeplus.git
synced 2026-05-02 03:10:48 +08:00
fix fork create bug
This commit is contained in:
@@ -5,7 +5,7 @@ class ForksController < ApplicationController
|
||||
before_action :authenticate_project!, :authenticate_user!
|
||||
|
||||
def create
|
||||
@new_project = Projects::ForkServiceProjects::ForkService.new(current_user, @project, params[:organization]).call
|
||||
@new_project = Projects::ForkService.new(current_user, @project, params[:organization], params[:new_name], params[:new_identifier]).call
|
||||
end
|
||||
|
||||
private
|
||||
|
||||
Reference in New Issue
Block a user