cleaning & image resize

This commit is contained in:
Dmitriy Zaporozhets 2012-01-15 17:59:40 +02:00
parent 21b31a675d
commit e0fe17ee4a
8 changed files with 18 additions and 19 deletions

View file

@ -74,7 +74,9 @@ class Repository
end
def repo_exists?
repo rescue false
repo && !repo.branches.empty?
rescue
false
end
def tags