summaryrefslogtreecommitdiff
path: root/app/controllers/boards/application_controller.rb
diff options
context:
space:
mode:
Diffstat (limited to 'app/controllers/boards/application_controller.rb')
-rw-r--r--app/controllers/boards/application_controller.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/app/controllers/boards/application_controller.rb b/app/controllers/boards/application_controller.rb
index eab908ba5ed..15ef6698472 100644
--- a/app/controllers/boards/application_controller.rb
+++ b/app/controllers/boards/application_controller.rb
@@ -13,7 +13,7 @@ module Boards
end
def board_parent
- @board_parent ||= board.parent
+ @board_parent ||= board.resource_parent
end
def record_not_found(exception)