Menus items:

* fixed broken translation when a plugin is installed (closes #649)
* small fix to the plugin API: options parameter added to Redmine::Plugin#menu

git-svn-id: http://redmine.rubyforge.org/svn/trunk@1172 e93f8b46-1217-0410-a6f0-8f06a7374b81
This commit is contained in:
Jean-Philippe Lang
2008-02-22 18:19:00 +00:00
parent b0bb41ad35
commit 792b7f30e3
3 changed files with 13 additions and 7 deletions
+1 -1
View File
@@ -21,5 +21,5 @@ Redmine::Plugin.register :sample_plugin do
end
# A new item is added to the project menu
menu :project_menu, :label_plugin_example, :controller => 'example', :action => 'say_hello'
menu :project_menu, :sample_plugin, { :controller => 'example', :action => 'say_hello' }, :caption => 'Sample'
end