fix costs link in top menu too

pull/6827/head
Markus Kahl 10 years ago
parent 1e831ad999
commit bb64575622
  1. 2
      lib/open_project/reporting/engine.rb

@ -45,7 +45,7 @@ module OpenProject::Reporting
end
#menu extensions
menu :top_menu, :cost_reports_global, {controller: 'cost_reports', action: 'index', project_id: nil},
menu :top_menu, :cost_reports_global, {controller: '/cost_reports', action: 'index', project_id: nil},
caption: :cost_reports_title,
if: Proc.new {
( User.current.allowed_to?(:view_time_entries, nil, global: true) ||

Loading…
Cancel
Save