summaryrefslogtreecommitdiffstats
path: root/lib
diff options
context:
space:
mode:
Diffstat (limited to 'lib')
-rw-r--r--lib/redmine.rb1
1 files changed, 1 insertions, 0 deletions
diff --git a/lib/redmine.rb b/lib/redmine.rb
index 71722cc8e..56ad9f6c7 100644
--- a/lib/redmine.rb
+++ b/lib/redmine.rb
@@ -255,6 +255,7 @@ Redmine::MenuManager.map :project_menu do |menu|
:html => { :accesskey => Redmine::AccessKeys.key_for(:new_issue) },
:if => Proc.new { |p| Setting.new_item_menu_tab == '1' && Issue.allowed_target_trackers(p).any? },
:permission => :add_issues
+ menu.push :time_entries, { :controller => 'timelog', :action => 'index' }, :param => :project_id, :caption => :label_spent_time
menu.push :gantt, { :controller => 'gantts', :action => 'show' }, :param => :project_id, :caption => :label_gantt
menu.push :calendar, { :controller => 'calendars', :action => 'show' }, :param => :project_id, :caption => :label_calendar
menu.push :news, { :controller => 'news', :action => 'index' }, :param => :project_id, :caption => :label_news_plural