Project

General

Profile

Feature #27314 » omit_admin_index_page.diff

Bernhard Rohloff, 2019-09-06 14:45

View differences:

lib/redmine.rb (working copy)
195 195
  menu.push :home, :home_path
196 196
  menu.push :my_page, { :controller => 'my', :action => 'page' }, :if => Proc.new { User.current.logged? }
197 197
  menu.push :projects, { :controller => 'projects', :action => 'index' }, :caption => :label_project_plural
198
  menu.push :administration, { :controller => 'admin', :action => 'index' }, :if => Proc.new { User.current.admin? }, :last => true
198
  menu.push :administration, { :controller => 'admin', :action => 'projects' }, :if => Proc.new { User.current.admin? }, :last => true
199 199
  menu.push :help, Redmine::Info.help_url, :last => true
200 200
end
201 201

  
(2-2/2)