Sha256: 43937f0d57dacf69c321fd1c43adfbeb92b58dcd35f6ab4b691249f027dc7ab8

Contents?: true

Size: 571 Bytes

Versions: 16

Compression:

Stored size: 571 Bytes

Contents

class FileNotFoundPage < Page
  
  description %{
    A "File Not Found" page can be used to override the default error
    page in the event that a page is not found among a page's children.
    
    To create a "File Not Found" error page for an entire Web site, create
    a page that is a child of the root page and assign it "File Not Found"
    page type.
  }
  
  tag "attempted_url" do
    CGI.escapeHTML(request.request_uri) unless request.nil?
  end
   
  def virtual?
    true
  end
   
  def response_code
    404
  end
  
  def cache?
    false
  end
  
end

Version data entries

16 entries across 16 versions & 3 rubygems

Version Path
radiantcms-couchrest_model-0.2.4 app/models/file_not_found_page.rb
radiantcms-couchrest_model-0.2.2 app/models/file_not_found_page.rb
radiantcms-couchrest_model-0.2.1 app/models/file_not_found_page.rb
radiantcms-couchrest_model-0.2 app/models/file_not_found_page.rb
radiantcms-couchrest_model-0.1.9 app/models/file_not_found_page.rb
radiantcms-couchrest_model-0.1.8 app/models/file_not_found_page.rb
radiantcms-couchrest_model-0.1.7 app/models/file_not_found_page.rb
radiantcms-couchrest_model-0.1.6 app/models/file_not_found_page.rb
radiantcms-couchrest_model-0.1.5 app/models/file_not_found_page.rb
radiantcms-couchrest_model-0.1.4 app/models/file_not_found_page.rb
radiant-0.9.1 app/models/file_not_found_page.rb
radiant-0.8.2 app/models/file_not_found_page.rb
radiant-0.9.0.rc2 app/models/file_not_found_page.rb
radiant-rc-0.9.0 app/models/file_not_found_page.rb
radiant-0.8.1 app/models/file_not_found_page.rb
radiant-0.8.0 app/models/file_not_found_page.rb