Sha256: a04eb74c0e627d70a1a9e1d1a24937b01ed2d43f397f0e023b5cedf0b5504c7c
Contents?: true
Size: 467 Bytes
Versions: 4
Compression:
Stored size: 467 Bytes
Contents
# frozen_string_literal: true module Decidim module Pages # The data store for a Page in the Decidim::Pages component. It stores a # title, description and any other useful information to render a custom page. class Page < Pages::ApplicationRecord validates :title, :feature, presence: true belongs_to :feature, foreign_key: "decidim_feature_id", class_name: Decidim::Feature has_one :organization, through: :feature end end end
Version data entries
4 entries across 4 versions & 2 rubygems