fix fork create bug
This commit is contained in:
parent
47a00092b1
commit
471fbcace4
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue