Class: Storytime::Page

Inherits:
Post
  • Object
show all
Defined in:
app/models/storytime/page.rb

Direct Known Subclasses

Blog

Instance Attribute Summary

Attributes inherited from Post

#preview

Instance Method Summary collapse

Methods inherited from Post

#author_name, find_preview, human_name, #human_name, #normalize_friendly_id, policy_class, #post_ancestor_klasses, #preview_content, #sanitize_content, #should_generate_new_friendly_id?, #slug_candidates, #to_partial_path, type_name, #type_name

Methods included from Concerns::HasVersions

#activate_version, #create_version, #draft_content, #latest_version, #publish!, #published, #published=, #published?

Instance Method Details

#show_comments?Boolean

Returns:

  • (Boolean)


3
4
5
# File 'app/models/storytime/page.rb', line 3

def show_comments?
  false
end