13643.patch

Takenori TAKAKI, 2018-10-05 03:58

Download (1.51 KB)

View differences:

app/controllers/reports_controller.rb
16 16
# Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA  02110-1301, USA.
17 17

  
18 18
class ReportsController < ApplicationController
19
  menu_item :issues
19
  menu_item :reports
20 20
  before_action :find_project, :authorize, :find_issue_statuses
21 21

  
22 22
  def issue_report
lib/redmine.rb
285 285
  menu.push :time_entries, { :controller => 'timelog', :action => 'index' }, :param => :project_id, :caption => :label_spent_time
286 286
  menu.push :gantt, { :controller => 'gantts', :action => 'show' }, :param => :project_id, :caption => :label_gantt
287 287
  menu.push :calendar, { :controller => 'calendars', :action => 'show' }, :param => :project_id, :caption => :label_calendar
288
  menu.push :reports, { :controller => 'reports', :action => 'issue_report' }, :param => :id, :caption => :label_report_plural
288 289
  menu.push :news, { :controller => 'news', :action => 'index' }, :param => :project_id, :caption => :label_news_plural
289 290
  menu.push :documents, { :controller => 'documents', :action => 'index' }, :param => :project_id, :caption => :label_document_plural
290 291
  menu.push :wiki, { :controller => 'wiki', :action => 'show', :id => nil }, :param => :project_id,