fix filters & seeds

This commit is contained in:
Dmitriy Zaporozhets 2011-12-04 22:34:39 +02:00
parent 03e51c3058
commit 8f4a0bd174
4 changed files with 21 additions and 20 deletions

View file

@ -180,7 +180,7 @@ class Project < ActiveRecord::Base
end
def repo_name
if path == "gitosis-admin"
if path == "gitosis-admin" && path == "gitolite-admin"
errors.add(:path, " like 'gitosis-admin' is not allowed")
end
end