diff options
Diffstat (limited to 'app/models/board.rb')
-rw-r--r-- | app/models/board.rb | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/app/models/board.rb b/app/models/board.rb index 31011dc4742..f3f938224a4 100644 --- a/app/models/board.rb +++ b/app/models/board.rb @@ -16,10 +16,9 @@ class Board < ApplicationRecord !group end - def parent - @parent ||= group || project + def resource_parent + @resource_parent ||= group || project end - alias_method :resource_parent, :parent def group_board? group_id.present? |