Class: FileNotFoundPage
- Inherits:
-
Page
- Object
- ActiveRecord::Base
- Page
- FileNotFoundPage
show all
- Defined in:
- app/models/file_not_found_page.rb
Instance Attribute Summary
Attributes inherited from Page
#pagination_parameters, #request, #response
Instance Method Summary
collapse
Methods inherited from Page
#allowed_children_lookup, #cache?, #child_path, date_column_names, #default_child, descendant_class, #description, #description=, display_name, display_name=, #field, #find_by_path, find_by_path, #has_or_inherits_part?, #headers, #inherits_part?, is_descendant_class_name?, #layout_with_inheritance, load_subclasses, missing?, new_with_defaults, #part, #part?, #path, #process, #published?, #render, #render_part, #render_snippet, root, save_order, #scheduled?, #set_allowed_children_cache, #status, #status=, #update_status
included
included, #render_tag, #tag_descriptions, #tags, #warn_of_tag_deprecation
Instance Method Details
#allowed_children ⇒ Object
6
7
8
|
# File 'app/models/file_not_found_page.rb', line 6
def allowed_children
[]
end
|
#cache_timeout ⇒ Object
2
3
4
|
# File 'app/models/file_not_found_page.rb', line 2
def cache_timeout
5.minutes
end
|
#response_code ⇒ Object
27
28
29
|
# File 'app/models/file_not_found_page.rb', line 27
def response_code
404
end
|
#virtual? ⇒ Boolean
23
24
25
|
# File 'app/models/file_not_found_page.rb', line 23
def virtual?
true
end
|