From b8a29c288b569d97ee4ba0ec41a9f6da4bbca7d5 Mon Sep 17 00:00:00 2001 From: Holger Just <hjust@meine-er.de> Date: Thu, 5 Apr 2012 20:49:47 +0200 Subject: [PATCH] Add the project_id to board URLs in the menu to generate valid URLs --- lib/redmine.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/redmine.rb b/lib/redmine.rb index 64ffbb308..194c1dfc2 100644 --- a/lib/redmine.rb +++ b/lib/redmine.rb @@ -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 }) -- GitLab