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:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user