Browse Source

fix fork create bug

pull/338/head
呱呱呱 2 years ago
parent
commit
471fbcace4
1 changed files with 1 additions and 1 deletions
  1. +1
    -1
      app/controllers/forks_controller.rb

+ 1
- 1
app/controllers/forks_controller.rb View File

@@ -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…
Cancel
Save