# 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 include Decidim::Resourceable include Decidim::HasFeature feature_manifest_name "pages" # Public: Pages doesn't have title so we assign the feature one to it. def title feature.name end end end end