Commit 1db3228c3365c53e68ba99e483430ed22580e3f3
Exists in
master
and in
4 other branches
Merge pull request #778 from netdata/Allow_short_project_names
Allow short project names
Showing
1 changed file
with
1 additions
and
1 deletions
Show diff stats
app/models/project/validations_trait.rb
... | ... | @@ -20,7 +20,7 @@ module Project::ValidationsTrait |
20 | 20 | :uniqueness => true, |
21 | 21 | :format => { :with => /^[a-zA-Z0-9_\-\.]*$/, |
22 | 22 | :message => "only letters, digits & '_' '-' '.' allowed" }, |
23 | - :length => { :within => 3..255 } | |
23 | + :length => { :within => 1..255 } | |
24 | 24 | |
25 | 25 | validates :owner, :presence => true |
26 | 26 | validate :check_limit | ... | ... |