Use wiki tab for wiki, wall, snippets

This commit is contained in:
Dmitriy Zaporozhets 2013-03-15 14:20:03 +02:00
parent 39bbdc468f
commit 35ad4fe7db
10 changed files with 87 additions and 111 deletions

View file

@ -80,7 +80,7 @@ module TabHelper
end
end
def project_writeboards_tab_class
def project_wiki_tab_class
[:files, :wall].each do |action|
return "active" if current_page?(controller: "projects", action: action, id: @project)
end