Class: Decidim::Pages::Page
- Inherits:
-
ApplicationRecord
- Object
- ActiveRecord::Base
- ApplicationRecord
- Decidim::Pages::Page
- Includes:
- HasFeature, Resourceable
- Defined in:
- app/models/decidim/pages/page.rb
Overview
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.
Instance Method Summary collapse
-
#title ⇒ Object
Public: Pages doesn’t have title so we assign the feature one to it.
Instance Method Details
#title ⇒ Object
Public: Pages doesn’t have title so we assign the feature one to it.
14 15 16 |
# File 'app/models/decidim/pages/page.rb', line 14 def title feature.name end |