summaryrefslogtreecommitdiff
path: root/app/models/label.rb
diff options
context:
space:
mode:
authorDouglas Barbosa Alexandre <dbalexandre@gmail.com>2016-10-13 19:38:22 -0300
committerDouglas Barbosa Alexandre <dbalexandre@gmail.com>2016-10-19 14:58:26 -0200
commitde9d3915d249a59e65226f6dd2ebe1f50a47306e (patch)
tree5f13d29ecad7d63830e0cfb22c3b4a3b35b44b7c /app/models/label.rb
parentf008cdf218952556a0dc93962f55c0ff50733594 (diff)
downloadgitlab-ce-de9d3915d249a59e65226f6dd2ebe1f50a47306e.tar.gz
Remove `::` for method call on Label#text_color
Diffstat (limited to 'app/models/label.rb')
-rw-r--r--app/models/label.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/app/models/label.rb b/app/models/label.rb
index 112d9f3fbe5..8b775e81db7 100644
--- a/app/models/label.rb
+++ b/app/models/label.rb
@@ -90,7 +90,7 @@ class Label < ActiveRecord::Base
end
def text_color
- LabelsHelper::text_color_for_bg(self.color)
+ LabelsHelper.text_color_for_bg(self.color)
end
def title=(value)