diff options
author | Alfredo Sumaran <alfredo@gitlab.com> | 2016-08-22 17:58:28 -0500 |
---|---|---|
committer | Alfredo Sumaran <alfredo@gitlab.com> | 2016-09-07 15:27:14 -0500 |
commit | 19e2bf1c21a853e45db0c18133e5f1b1234ad09f (patch) | |
tree | 35499078416f41c25f76040962943b00e55ff40c /app/helpers/milestones_helper.rb | |
parent | 894bd04decf1a2e6a7ca7b1450db9ac7bddd4735 (diff) | |
download | gitlab-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.rb | 2 |
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 |