Class: Pageflow::Page
Instance Attribute Summary collapse
Instance Method Summary
collapse
#ensure_perma_id
#copy_to, #duplicate
#copy_nested_revision_component_to
#configuration
Instance Attribute Details
#is_first ⇒ Object
Returns the value of attribute is_first.
9
10
11
|
# File 'app/models/pageflow/page.rb', line 9
def is_first
@is_first
end
|
Instance Method Details
#configuration=(value) ⇒ Object
23
24
25
26
|
# File 'app/models/pageflow/page.rb', line 23
def configuration=(value)
self.display_in_navigation = value['display_in_navigation']
super
end
|
#title ⇒ Object
15
16
17
|
# File 'app/models/pageflow/page.rb', line 15
def title
configuration['title'].presence || configuration['additional_title']
end
|