Class: FileNotFoundPage

Inherits:
Page
  • Object
show all
Defined in:
app/models/file_not_found_page.rb

Constant Summary

Constants inherited from Page

Page::DEFAULT_PAGE_PARTS

Instance Attribute Summary

Attributes inherited from Page

#pagination_parameters, #request, #response

Instance Method Summary collapse

Methods inherited from Page

#child_path, date_column_names, descendant_class, #description, #description=, display_name, display_name=, #field, find_by_path, #find_by_path, #find_by_url, find_by_url, #has_or_inherits_part?, #has_part?, #headers, #inherits_part?, is_descendant_class_name?, #layout_with_inheritance, load_subclasses, missing?, new_with_defaults, #part, #path, #process, #published?, #render, #render_part, #render_snippet, #scheduled?, #status, #status=, #to_xml, #update_status

Methods included from Annotatable

included

Methods included from Radiant::Taggable

included, #render_tag, #tag_descriptions, #tags

Methods included from LocalTime

#adjust_time

Instance Method Details

#allowed_childrenObject



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

def allowed_children
  []
end

#cache?Boolean

Returns:

  • (Boolean)


28
29
30
# File 'app/models/file_not_found_page.rb', line 28

def cache?
  false
end

#response_codeObject



24
25
26
# File 'app/models/file_not_found_page.rb', line 24

def response_code
  404
end

#virtual?Boolean

Returns:

  • (Boolean)


20
21
22
# File 'app/models/file_not_found_page.rb', line 20

def virtual?
  true
end