Sha256: 53a3dca5c2ee6a6a707d243512efe5965141bde9d83ebe46af850d4e5b858b8f
Contents?: true
Size: 225 Bytes
Versions: 1
Compression:
Stored size: 225 Bytes
Contents
module Orange class NotFound < Orange::Resource call_me :not_found def route(packet) packet[:content] = orange[:parser].haml("404.haml", packet, :resource => self) packet[:status] = 404 end end end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
orange-0.0.13 | lib/orange/resources/not_found.rb |