Method: Wouter::Util.not_found
- Defined in:
- lib/wouter/util.rb
.not_found ⇒ Object
HTTP 404 Not Found
7 8 9 10 11 12 |
# File 'lib/wouter/util.rb', line 7 def self.not_found resp = Rack::Response.new resp.status = 404 resp.write 'Not Found' resp end |