From 792b7f30e32eec84d6106e947fc3987e4e26a0b0 Mon Sep 17 00:00:00 2001 From: Jean-Philippe Lang Date: Fri, 22 Feb 2008 18:19:00 +0000 Subject: 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 --- extra/sample_plugin/init.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'extra') diff --git a/extra/sample_plugin/init.rb b/extra/sample_plugin/init.rb index 48a5d935c..7389aaa6f 100644 --- a/extra/sample_plugin/init.rb +++ b/extra/sample_plugin/init.rb @@ -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 -- cgit v1.2.3