@@ -1,4 +1,5 | |||
|
1 | 1 | class CalendarsController < ApplicationController |
|
2 | menu_item :calendar | |
|
2 | 3 | before_filter :find_optional_project |
|
3 | 4 | |
|
4 | 5 | rescue_from Query::StatementInvalid, :with => :query_statement_invalid |
@@ -184,6 +184,7 Redmine::MenuManager.map :project_menu do |menu| | |||
|
184 | 184 | menu.push :new_issue, { :controller => 'issues', :action => 'new' }, :param => :project_id, :caption => :label_issue_new, |
|
185 | 185 | :html => { :accesskey => Redmine::AccessKeys.key_for(:new_issue) } |
|
186 | 186 | menu.push :gantt, { :controller => 'gantts', :action => 'show' }, :param => :project_id, :caption => :label_gantt |
|
187 | menu.push :calendar, { :controller => 'calendars', :action => 'show' }, :param => :project_id, :caption => :label_calendar | |
|
187 | 188 | menu.push :news, { :controller => 'news', :action => 'index' }, :param => :project_id, :caption => :label_news_plural |
|
188 | 189 | menu.push :documents, { :controller => 'documents', :action => 'index' }, :param => :project_id, :caption => :label_document_plural |
|
189 | 190 | menu.push :wiki, { :controller => 'wiki', :action => 'index', :page => nil }, |
General Comments 0
You need to be logged in to leave comments.
Login now