Sha256: 7e39d527c710efc7d06c3555e12e51e383ea55636cc4d168b51e90e7b5fbaed7

Contents?: true

Size: 197 Bytes

Versions: 5

Compression:

Stored size: 197 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)
    end
  end
end

Version data entries

5 entries across 5 versions & 1 rubygems

Version Path
orange-0.0.12 lib/orange/resources/not_found.rb
orange-0.0.10 lib/orange/resources/not_found.rb
orange-0.0.8 lib/orange/resources/not_found.rb
orange-0.0.7 lib/orange/resources/not_found.rb
orange-0.0.6 lib/orange/resources/not_found.rb