Class: FileNotFoundPage
- Inherits:
-
Page
show all
- Defined in:
- app/models/file_not_found_page.rb
Instance Attribute Summary
Attributes inherited from Page
#request, #response
Instance Method Summary
collapse
Methods inherited from Page
#child_url, descendant_class, #description, #description=, display_name, display_name=, 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, #process, #published?, #render, #render_part, #render_snippet, #status, #status=, #to_xml, #url
included
Methods included from LocalTime
#adjust_time
included, #render_tag, #tag_descriptions, #tags
Instance Method Details
#cache? ⇒ Boolean
24
25
26
|
# File 'app/models/file_not_found_page.rb', line 24
def cache?
false
end
|
#response_code ⇒ Object
20
21
22
|
# File 'app/models/file_not_found_page.rb', line 20
def response_code
404
end
|
#virtual? ⇒ Boolean
16
17
18
|
# File 'app/models/file_not_found_page.rb', line 16
def virtual?
true
end
|