#907: show only tags with commit

This commit is contained in:
Vokhmin Alexey V 2013-02-13 15:38:25 +04:00
parent b49fdb5267
commit f97fb4c4a5
1 changed files with 1 additions and 1 deletions

View File

@ -25,7 +25,7 @@ class Projects::Git::TreesController < Projects::Git::BaseController
end
def tags
@tags = @project.repo.tags.sort_by(&:name)
@tags = @project.repo.tags.select{ |t| t.commit }.sort_by(&:name)
end
def branches