summaryrefslogtreecommitdiff
path: root/app/helpers/milestones_helper.rb
diff options
context:
space:
mode:
authorAlfredo Sumaran <alfredo@gitlab.com>2016-08-22 17:58:28 -0500
committerAlfredo Sumaran <alfredo@gitlab.com>2016-09-07 15:27:14 -0500
commit19e2bf1c21a853e45db0c18133e5f1b1234ad09f (patch)
tree35499078416f41c25f76040962943b00e55ff40c /app/helpers/milestones_helper.rb
parent894bd04decf1a2e6a7ca7b1450db9ac7bddd4735 (diff)
downloadgitlab-ce-19e2bf1c21a853e45db0c18133e5f1b1234ad09f.tar.gz
Fix failing specs and improve html
Diffstat (limited to 'app/helpers/milestones_helper.rb')
-rw-r--r--app/helpers/milestones_helper.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/app/helpers/milestones_helper.rb b/app/helpers/milestones_helper.rb
index 27f4354cf42..b91f09f76ee 100644
--- a/app/helpers/milestones_helper.rb
+++ b/app/helpers/milestones_helper.rb
@@ -50,7 +50,7 @@ module MilestonesHelper
# Show 'active' class if provided GET param matches check
# `or_blank` allows the function to return 'active' when given an empty param
# Could be refactored to be simpler but that may make it harder to read
- def milestone_class_for_state(param, check, match_blank_param=false)
+ def milestone_class_for_state(param, check, match_blank_param = false)
if match_blank_param
'active' if param.blank? || param == check
else