Sha256: ff10ee6202df98eb4619fdc1bc05e38dfd71f5137194007a9560736b1247db7a
Contents?: true
Size: 594 Bytes
Versions: 10
Compression:
Stored size: 594 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 headers { 'Status' => '404 Not Found' } end def cache? false end end
Version data entries
10 entries across 10 versions & 1 rubygems