提交 938eed1e 编写于 作者: R Robert Schilling

Consistency: Capitalize hex values of sugested colors

上级 27cf081e
......@@ -14,13 +14,13 @@ module LabelsHelper
def suggested_colors
[
'#d9534f',
'#f0ad4e',
'#428bca',
'#5cb85c',
'#34495e',
'#7f8c8d',
'#8e44ad',
'#D9534F',
'#F0AD4E',
'#428BCA',
'#5CB85C',
'#34495E',
'#7F8C8D',
'#8E44AD',
'#FFECDB'
]
end
......
class Label < ActiveRecord::Base
DEFAULT_COLOR = '#428bca'
DEFAULT_COLOR = '#428BCA'
belongs_to :project
has_many :label_links, dependent: :destroy
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册