diff options
Diffstat (limited to 'app/models/project.rb')
-rw-r--r-- | app/models/project.rb | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/app/models/project.rb b/app/models/project.rb index 1dd04e1fcb6..5262e55245d 100644 --- a/app/models/project.rb +++ b/app/models/project.rb @@ -35,7 +35,6 @@ class Project < ActiveRecord::Base :presence => true validate :check_limit - validate :repo_name after_destroy :destroy_gitosis_project @@ -172,7 +171,7 @@ class Project < ActiveRecord::Base def repo_name if path == "gitosis-admin" - errors.add(:path, "Project path like 'gitosis-admin' is not allowed") + errors.add(:path, " like 'gitosis-admin' is not allowed") end end |