class RackStep::NotFoundController

This is the default controller that will handle the “page not found” (404). The user may overwrite this by creating new route to ‘notfound’.

Public Instance Methods

process_request() click to toggle source
# File lib/controller.rb, line 50
def process_request
  @response.body = '404 - Page not found'
  @response.content_type = 'text/plain'
  @response.status = 404
end