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-03-29 17:26:12 +0300
committerPhil Hughes <me@iamphill.com>2016-03-29 17:26:12 +0300
commit31fea92295302d93973f0836eb4d040550b2deda (patch)
tree23071b152f379749f07db77751dda2ed1a7aeb36 /app/helpers/issuables_helper.rb
parentb5ece0886a421247ed572e19ac3ccbcb685883b8 (diff)
Updated based on Ruby feedback
Diffstat (limited to 'app/helpers/issuables_helper.rb')
-rw-r--r--app/helpers/issuables_helper.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/app/helpers/issuables_helper.rb b/app/helpers/issuables_helper.rb
index 3709d04e8a2..b14b8218d02 100644
--- a/app/helpers/issuables_helper.rb
+++ b/app/helpers/issuables_helper.rb
@@ -47,7 +47,7 @@ module IssuablesHelper
end
end
- def milestone_dropdown_label(milestone_title, default_label)
+ def milestone_dropdown_label(milestone_title, default_label = "Milestone")
if milestone_title == Milestone::Upcoming.name
milestone_title = Milestone::Upcoming.title
end