fix filters & seeds
This commit is contained in:
parent
03e51c3058
commit
8f4a0bd174
4 changed files with 21 additions and 20 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue