mirror of
https://github.com/wahyd4/gitlabhq.git
synced 2026-08-22 19:16:39 +10:00
The project name should not be limited to 16 characters. 16 is too short
This commit is contained in:
@@ -28,7 +28,7 @@ class Project < ActiveRecord::Base
|
||||
:uniqueness => true,
|
||||
:format => { :with => /^[a-zA-Z0-9_\-]*$/,
|
||||
:message => "only letters, digits & '_' '-' allowed" },
|
||||
:length => { :within => 3..16 }
|
||||
:length => { :within => 3..255 }
|
||||
|
||||
validates :owner,
|
||||
:presence => true
|
||||
|
||||
Reference in New Issue
Block a user