5
0
Fork 0
mirror of https://0xacab.org/sutty/sutty synced 2024-12-01 09:36:21 +00:00
panel/app/models/privacy_policy.rb

15 lines
434 B
Ruby
Raw Normal View History

2023-03-23 00:01:29 +00:00
# frozen_string_literal: true
# Políticas de privacidad
class PrivacyPolicy < ApplicationRecord
extend Mobility
translates :title, type: :string, locale_accessors: true
translates :description, type: :text, locale_accessors: true
translates :content, type: :text, locale_accessors: true
validates :title, presence: true, uniqueness: true
validates :description, presence: true
validates :content, presence: true
end