removed tags from repo activities

This commit is contained in:
Dmitriy Zaporozhets 2012-01-04 08:19:41 +02:00
parent 0ebc610e49
commit 05993f90e0
2 changed files with 2 additions and 2 deletions

View file

@ -113,7 +113,7 @@ class Repository
end
def commits_with_refs(n = 20)
commits = repo.refs.map { |ref| Commit.new(ref.commit, ref) }
commits = repo.branches.map { |ref| Commit.new(ref.commit, ref) }
commits.sort! do |x, y|
y.committed_date <=> x.committed_date

View file

@ -1,7 +1,7 @@
.merge-tabs.repository
= link_to project_repository_path(@project), :class => "activities-tab tab #{'active' if current_page?(project_repository_path(@project)) }" do
%span
History
Activities
= link_to branches_project_repository_path(@project), :class => "tab #{'active' if current_page?(branches_project_repository_path(@project)) }" do
%span
Branches