Patch #8332 ยป project_settings_hook.patch
app/helpers/projects_helper.rb 2011-05-10 19:39:06.000000000 +0300 | ||
---|---|---|
32 | 32 |
{:name => 'boards', :action => :manage_boards, :partial => 'projects/settings/boards', :label => :label_board_plural}, |
33 | 33 |
{:name => 'activities', :action => :manage_project_activities, :partial => 'projects/settings/activities', :label => :enumeration_activities} |
34 | 34 |
] |
35 |
call_hook(:helper_projects_settings_tabs, { :tabs => tabs }) |
|
35 | 36 |
tabs.select {|tab| User.current.allowed_to?(tab[:action], @project)} |
36 | 37 |
end |
37 | 38 |
|