Feature #2087

Removal of menu-items through plugin-API

Added by Mischa The Evil almost 9 years ago. Updated almost 9 years ago.

Status:ClosedStart date:2008-10-24
Priority:NormalDue date:
Assignee:Eric Davis% Done:

0%

Category:Plugin API
Target version:0.8
Resolution:Fixed

Description

As discussed in IRC;

Add a way to remove menu-items (at least as discussed for top-menu) through the plugin-API.

This might be handy for people who wants to seriously modify Redmine.

Associated revisions

Revision 1952
Added by Jean-Philippe Lang almost 9 years ago

Adds #delete_menu_item to the plugin API (#2087).

History

#1 Updated by Jean-Philippe Lang almost 9 years ago

  • Status changed from New to Closed
  • Resolution set to Fixed

#delete_menu_item method added to the plugin API in r1952.

Example:

Redmine::Plugin.register :foo do
  delete_menu_item :top_menu, :my_page
end

Also available in: Atom PDF