Fix: Unknow attribute private for project

This commit is contained in:
sylor_huang@126.com 2020-08-13 13:50:07 +08:00
parent f417bf3308
commit 3dd3944ebd
1 changed files with 1 additions and 1 deletions

View File

@ -107,7 +107,7 @@ class ProjectsController < ApplicationController
private
def project_params
params.permit(:user_id, :name, :description, :repository_name,
:project_category_id, :project_language_id, :license_id, :ignore_id, :private)
:project_category_id, :project_language_id, :license_id, :ignore_id)
end
def mirror_params