summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPhil Hughes <me@iamphill.com>2016-03-24 16:14:48 +0000
committerPhil Hughes <me@iamphill.com>2016-03-29 11:59:42 +0100
commitf8b5ff95202dec5011d92427d9acbe858b59b57d (patch)
treecc5b74fa0c605ff1edd20305209bf481eb0d4b89
parentf3b162a9ac48e3eeb2548b381b6daec9d6016956 (diff)
downloadgitlab-ce-f8b5ff95202dec5011d92427d9acbe858b59b57d.tar.gz
Fixed rubocop issues
-rw-r--r--app/helpers/issuables_helper.rb11
1 files changed, 6 insertions, 5 deletions
diff --git a/app/helpers/issuables_helper.rb b/app/helpers/issuables_helper.rb
index 53e53977da2..462bfdb81c0 100644
--- a/app/helpers/issuables_helper.rb
+++ b/app/helpers/issuables_helper.rb
@@ -48,11 +48,12 @@ module IssuablesHelper
end
def milestone_dropdown_label(milestone_title, default_label)
- milestone_title = if milestone_title == Milestone::Upcoming.name
- Milestone::Upcoming.title
- else
- milestone_title
- end
+ milestone_title =
+ if milestone_title == Milestone::Upcoming.name
+ Milestone::Upcoming.title
+ else
+ milestone_title
+ end
if !milestone_title.nil? && !milestone_title.empty?
h(milestone_title)