Remove unused method LabelsHelper#project_label_names

parent 9463551e
...@@ -111,10 +111,6 @@ module LabelsHelper ...@@ -111,10 +111,6 @@ module LabelsHelper
end end
end end
def project_label_names
@project.labels.pluck(:title)
end
def render_colored_label(label, label_suffix = '', tooltip: true) def render_colored_label(label, label_suffix = '', tooltip: true)
label_color = label.color || Label::DEFAULT_COLOR label_color = label.color || Label::DEFAULT_COLOR
text_color = text_color_for_bg(label_color) text_color = text_color_for_bg(label_color)
......
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