加新设置到Redmine管理界面

修改 lib/redmine.rb

1
2
3
4
5
6
7
Redmine::MenuManager.map :admin_menu do |menu|
  ... ...
  menu.push :info, {:controller => 'admin', :action => 'info'}, :caption => :label_information_plural, :last => true
  
  # 添加新的连接到系统管理菜单
  menu.push :your_new_feature, {:controller => 'your_new_feature', :action => 'index'}, :caption => '新的功能设置'
end
  • 效果如下:

猜你喜欢

转载自blog.csdn.net/weixin_42463677/article/details/81178481
今日推荐