lib/orange/resources/not_found.rb in orange-0.0.12 vs lib/orange/resources/not_found.rb in orange-0.0.13
- old
+ new
@@ -1,8 +1,9 @@
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
\ No newline at end of file