Permalink
Browse files

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

  • Loading branch information...
1 parent aca1662 commit b8a29c288b569d97ee4ba0ec41a9f6da4bbca7d5 @meineerde meineerde committed Apr 5, 2012
Showing with 1 addition and 1 deletion.
  1. +1 −1 lib/redmine.rb
View
@@ -345,7 +345,7 @@
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
})

0 comments on commit b8a29c2

Please sign in to comment.