Sha256: 9124b3e2413cf8a70b4e2a000c8ac8d7409096a13194abe91a35b240554f1987
Contents?: true
Size: 616 Bytes
Versions: 13
Compression:
Stored size: 616 Bytes
Contents
class FileNotFoundPage < Page def allowed_children [] end 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 |tag| 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
13 entries across 13 versions & 2 rubygems