Commit f8b5ff95 authored by Phil Hughes's avatar Phil Hughes

Fixed rubocop issues

parent f3b162a9
......@@ -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)
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment