Use wiki tab for wiki, wall, snippets
This commit is contained in:
parent
39bbdc468f
commit
35ad4fe7db
10 changed files with 87 additions and 111 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue