Raise description text max length
parent
b8ef3027da
commit
5db1301d7a
|
@ -220,7 +220,7 @@ class MediaAttachment < ApplicationRecord
|
||||||
end
|
end
|
||||||
|
|
||||||
def prepare_description
|
def prepare_description
|
||||||
self.description = description.strip[0...420] unless description.nil?
|
self.description = description.strip[0...666] unless description.nil?
|
||||||
end
|
end
|
||||||
|
|
||||||
def set_type_and_extension
|
def set_type_and_extension
|
||||||
|
|
Loading…
Reference in New Issue