Sha256: eb75c9a40320a810c67620c1047457982e2621251b3cf7544c0cb9557c30ef6d
Contents?: true
Size: 690 Bytes
Versions: 30
Compression:
Stored size: 690 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 include Decidim::Resourceable include Decidim::HasComponent include Decidim::Traceable include Decidim::Loggable component_manifest_name "pages" def self.log_presenter_class_for(_log) Decidim::Pages::AdminLog::PagePresenter end # Public: Pages doesn't have title so we assign the component one to it. def title component.name end end end end
Version data entries
30 entries across 30 versions & 1 rubygems