Welcome to mirror list, hosted at ThFree Co, Russian Federation.

gitlab.com/gitlab-org/gitlab-foss.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPhil Hughes <me@iamphill.com>2016-10-06 17:30:34 +0300
committerPhil Hughes <me@iamphill.com>2016-10-06 17:30:34 +0300
commit996e802415aa1edadb96b1f7efa924581fb047ed (patch)
tree316dd7319d2cc723b5c311f099065e9b4fdb11d6 /app/views/groups
parenta0eaff14124b829ccc02df951bd7cb7d3abb7708 (diff)
parentdcfda304aa8c06f427cb5672ceb4e070047436be (diff)
Merge branch 'master' into members-ui
Diffstat (limited to 'app/views/groups')
-rw-r--r--app/views/groups/milestones/new.html.haml4
1 files changed, 2 insertions, 2 deletions
diff --git a/app/views/groups/milestones/new.html.haml b/app/views/groups/milestones/new.html.haml
index ca6c4326d1c..23d438b2aa1 100644
--- a/app/views/groups/milestones/new.html.haml
+++ b/app/views/groups/milestones/new.html.haml
@@ -33,8 +33,8 @@
.form-group
= f.label :projects, "Projects", class: "control-label"
.col-sm-10
- = f.collection_select :project_ids, @group.projects, :id, :name,
- { selected: @group.projects.map(&:id) }, multiple: true, class: 'select2'
+ = f.collection_select :project_ids, @group.projects.non_archived, :id, :name,
+ { selected: @group.projects.non_archived.pluck(:id) }, multiple: true, class: 'select2'
.col-md-6
.form-group