diff options
author | Robert Speicher <rspeicher@gmail.com> | 2019-02-15 23:40:16 +0300 |
---|---|---|
committer | Robert Speicher <rspeicher@gmail.com> | 2019-02-15 23:40:16 +0300 |
commit | 292f067146f439bdc4212705595830585d9fd77c (patch) | |
tree | 06b41ba4f955d140cbb0acd8e7d9c700be78599b /app/models/board.rb | |
parent | 22e1c70f2b5ba2d188725719c5c7196586ad30ce (diff) | |
parent | fd7461f8546b124a7cc03e8cab703eb405d0bb98 (diff) |
Merge branch '11-8-stable-prepare-rc6' into '11-8-stable'
Prepare 11.8.0-rc6 release
See merge request gitlab-org/gitlab-ce!25279
Diffstat (limited to 'app/models/board.rb')
-rw-r--r-- | app/models/board.rb | 4 |
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 |