Parent

Methods

Picombo::Controllers::Error_404

Controller class for handling 404 events

To override, re-define this in your application’s controller directory

Public Instance Methods

run_error(uri) click to toggle source

Displays a 404 message for the current uri

    # File lib/controllers/error/404.rb, line 8
 8:             def run_error(uri)
 9:                 body = Picombo::Stache::Error_404.new
10:                 body.uri = uri
11:                 return [404, {'Content-Type' => 'text/html'}, body.output]
12:             end

Disabled; run with --debug to generate this.

[Validate]

Generated with the Darkfish Rdoc Generator 1.1.6.