Add the project_id to board URLs in the menu to generate valid URLs

This commit is contained in:
Holger Just 2012-04-05 20:49:47 +02:00
parent aca166271b
commit b8a29c288b
1 changed files with 1 additions and 1 deletions

View File

@ -345,7 +345,7 @@ Redmine::MenuManager.map :project_menu do |menu|
project.boards.collect do |board|
Redmine::MenuManager::MenuItem.new(
"board-#{board.id}".to_sym,
{ :controller => 'boards', :action => 'show', :id => board },
{ :controller => 'boards', :action => 'show', :project_id => project, :id => board },
{
:caption => board.name # is h() in menu_helper.rb
})