I'm looking for a part-time remote job.

Hire me


I'm the author of:

Mastering Redmine is a comprehensive guide with tips, tricks and best practices, and an easy-to-learn structure.

Check the book's project or

Buy the book

Social pages of the book:

By buying this book you also donate to Redmine (see this page).


Follow me:

project_settings_hook.patch

Patch adding helper_projects_settings_tabs hook - Andriy Lesyuk, 10 May 2011 16:40

Download (622 Bytes)

View differences:

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
  
Terms of use | Privacy policy