Class: FileNotFoundPage

Inherits:
Page
  • Object
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, #child_path, date_column_names, #default_child, 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?, #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

Methods included from Annotatable

included

Methods included from TrustyCms::Taggable

included, #render_tag, #tag_descriptions, #tags, #warn_of_tag_deprecation

Methods included from LocalTime

#adjust_time

Instance Method Details

#allowed_childrenObject



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

def allowed_children
  []
end

#cache?Boolean

Returns:

  • (Boolean)


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

def cache?
  false
end

#response_codeObject



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

def response_code
  404
end

#virtual?Boolean

Returns:

  • (Boolean)


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

def virtual?
  true
end