Skip to content
Snippets Groups Projects
Commit b8a29c28 authored by Holger Just's avatar Holger Just
Browse files

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

parent aca16627
Branches
Tags
No related merge requests found
......@@ -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
})
......
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment