mirror of
https://gitlink.org.cn/Gitlink/forgeplus.git
synced 2026-05-03 03:40:49 +08:00
fix: create project repeat name
This commit is contained in:
@@ -15,6 +15,8 @@ class Projects::CreateForm < BaseForm
|
||||
validate do
|
||||
check_project_category(project_category_id)
|
||||
check_project_language(project_language_id)
|
||||
check_project_name(user_id, name) unless name.blank?
|
||||
check_repository_name(user_id, repository_name) unless repository_name.blank?
|
||||
end
|
||||
|
||||
def check_license
|
||||
|
||||
Reference in New Issue
Block a user