class Wouter::Util

`Wouter::Util` provides some common untility methods.

Public Class Methods

not_found() click to toggle source

HTTP 404 Not Found

# File lib/wouter/util.rb, line 7
def self.not_found
  resp = Rack::Response.new
  resp.status = 404
  resp.write 'Not Found'
  resp
end