summaryrefslogtreecommitdiff
path: root/app/models/group_milestone.rb
diff options
context:
space:
mode:
authorStan Hu <stanhu@gmail.com>2015-10-08 21:24:55 -0700
committerStan Hu <stanhu@gmail.com>2015-10-08 23:53:32 -0700
commitb60bc655f2e1318f448f3a3d884437677c1135b7 (patch)
tree5bc98fe85bb39f89c444d2dec221ba06ada1cd1d /app/models/group_milestone.rb
parent680b6d88a5c0d63deeb2909f1c83e3630db87780 (diff)
downloadgitlab-ce-b60bc655f2e1318f448f3a3d884437677c1135b7.tar.gz
Restore placeholders in issue filters from "Any" to "Milestone" and "Label"
1f11096c included new filters but made it hard to determine which dropdown did what. This patch restores the original placeholders.
Diffstat (limited to 'app/models/group_milestone.rb')
-rw-r--r--app/models/group_milestone.rb2
1 files changed, 2 insertions, 0 deletions
diff --git a/app/models/group_milestone.rb b/app/models/group_milestone.rb
index ab055f6b80b..1dd2be68ebf 100644
--- a/app/models/group_milestone.rb
+++ b/app/models/group_milestone.rb
@@ -1,5 +1,7 @@
class GroupMilestone
+ alias_attribute :name, :title
+
def initialize(title, milestones)
@title = title
@milestones = milestones