summaryrefslogtreecommitdiff
path: root/app/models/board.rb
diff options
context:
space:
mode:
authorblackst0ne <blackst0ne.ru@gmail.com>2017-03-24 23:40:35 +1100
committerblackst0ne <blackst0ne.ru@gmail.com>2017-03-24 23:40:35 +1100
commit1fb9de2bf746a32baeb74e57bf7f64525cc8ec3f (patch)
treed4207c0d90713c39977afabe2765806be89bd046 /app/models/board.rb
parent6eeba4b18214e054bbdebd66f53586fc09256130 (diff)
downloadgitlab-ce-1fb9de2bf746a32baeb74e57bf7f64525cc8ec3f.tar.gz
Change Done column to Closed in issue boards
Diffstat (limited to 'app/models/board.rb')
-rw-r--r--app/models/board.rb4
1 files changed, 2 insertions, 2 deletions
diff --git a/app/models/board.rb b/app/models/board.rb
index 2780acc67c0..cf8317891b5 100644
--- a/app/models/board.rb
+++ b/app/models/board.rb
@@ -5,7 +5,7 @@ class Board < ActiveRecord::Base
validates :project, presence: true
- def done_list
- lists.merge(List.done).take
+ def closed_list
+ lists.merge(List.closed).take
end
end