summaryrefslogtreecommitdiff
path: root/app/models/board.rb
diff options
context:
space:
mode:
Diffstat (limited to 'app/models/board.rb')
-rw-r--r--app/models/board.rb4
1 files changed, 4 insertions, 0 deletions
diff --git a/app/models/board.rb b/app/models/board.rb
index a137863456c..758a71d6903 100644
--- a/app/models/board.rb
+++ b/app/models/board.rb
@@ -21,6 +21,10 @@ class Board < ActiveRecord::Base
group_id.present?
end
+ def project_board?
+ project_id.present?
+ end
+
def backlog_list
lists.merge(List.backlog).take
end