5
0
Fork 0
mirror of https://0xacab.org/sutty/sutty synced 2024-11-20 01:16:22 +00:00

Merge branch 'issue-159' into panel.sutty.nl

This commit is contained in:
f 2023-03-25 13:48:44 -03:00
commit a1dda37543

View file

@ -7,6 +7,7 @@ class Licencia < ApplicationRecord
translates :name, type: :string, locale_accessors: true
translates :url, type: :string, locale_accessors: true
translates :description, type: :text, locale_accessors: true
translates :short_description, type: :string, locale_accessors: true
translates :deed, type: :text, locale_accessors: true
has_many :sites
@ -14,5 +15,6 @@ class Licencia < ApplicationRecord
validates :name, presence: true, uniqueness: true
validates :url, presence: true
validates :description, presence: true
validates :short_description, presence: true
validates :deed, presence: true
end