Commit 2c37b583 authored by Donald Cook's avatar Donald Cook

Fixed the linting issues

parent c3f45828
......@@ -217,16 +217,20 @@ class Label < ApplicationRecord
end
def title=(value)
super if value.blank?
if value.blank?
super
else
write_attribute(:title, sanitize_value(value))
end
end
def description=(value)
return super if value.blank?
if value.blank?
super
else
write_attribute(:description, sanitize_value(value))
end
end
##
# Returns the String necessary to reference this Label in Markdown
......
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