This commit is contained in:
yystopf 2024-03-01 17:36:58 +08:00
parent 59e8ce206f
commit f35dddbbf7
1 changed files with 1 additions and 1 deletions

View File

@ -1,6 +1,6 @@
class Projects::CreateForm < BaseForm class Projects::CreateForm < BaseForm
attr_accessor :user_id, :name, :description, :repository_name, :project_category_id, attr_accessor :user_id, :name, :description, :repository_name, :project_category_id,
:project_language_id, :ignore_id, :license_id, :private, :owner, :auto_init :project_language_id, :ignore_id, :license_id, :private, :owner, :auto_init,
:blockchain, :blockchain_token_all, :blockchain_init_token :blockchain, :blockchain_token_all, :blockchain_init_token
validates :user_id, :name, :repository_name, presence: true validates :user_id, :name, :repository_name, presence: true