Remove `::` for method call on Label#text_color

parent f008cdf2
...@@ -90,7 +90,7 @@ class Label < ActiveRecord::Base ...@@ -90,7 +90,7 @@ class Label < ActiveRecord::Base
end end
def text_color def text_color
LabelsHelper::text_color_for_bg(self.color) LabelsHelper.text_color_for_bg(self.color)
end end
def title=(value) def title=(value)
......
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