Browse Source

Fix: Unknow attribute private for project

pull/278/head
sylor_huang@126.com 5 years ago
parent
commit
3dd3944ebd
1 changed files with 1 additions and 1 deletions
  1. +1
    -1
      app/controllers/projects_controller.rb

+ 1
- 1
app/controllers/projects_controller.rb 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


Loading…
Cancel
Save