diff options
author | Jean-Philippe Lang <jp_lang@yahoo.fr> | 2017-06-10 23:47:15 +0000 |
---|---|---|
committer | Jean-Philippe Lang <jp_lang@yahoo.fr> | 2017-06-10 23:47:15 +0000 |
commit | 261292445fb784f8c7cc35d412f318d7d9d91249 (patch) | |
tree | f5284310860aef8bfc6020add6db2cfa79aff376 /app/controllers/boards_controller.rb | |
parent | 08e2f2bf96557bc51ad737af7263569dfb613dbf (diff) | |
download | redmine-261292445fb784f8c7cc35d412f318d7d9d91249.tar.gz redmine-261292445fb784f8c7cc35d412f318d7d9d91249.zip |
Set inverse_of on project boards association.
git-svn-id: http://svn.redmine.org/redmine/trunk@16659 e93f8b46-1217-0410-a6f0-8f06a7374b81
Diffstat (limited to 'app/controllers/boards_controller.rb')
-rw-r--r-- | app/controllers/boards_controller.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/app/controllers/boards_controller.rb b/app/controllers/boards_controller.rb index a2bbcbbcf..e8770b2ae 100644 --- a/app/controllers/boards_controller.rb +++ b/app/controllers/boards_controller.rb @@ -25,7 +25,7 @@ class BoardsController < ApplicationController helper :watchers def index - @boards = @project.boards.preload(:project, :last_message => :author).to_a + @boards = @project.boards.preload(:last_message => :author).to_a # show the board if there is only one if @boards.size == 1 @board = @boards.first |