Module: Roda::RodaPlugins::NotFound::ClassMethods

Defined in:
lib/roda/plugins/not_found.rb

Instance Method Summary collapse

Instance Method Details

#not_found(&block) ⇒ Object

Install the given block as the not_found handler.



47
48
49
# File 'lib/roda/plugins/not_found.rb', line 47

def not_found(&block)
  status_handler(404, &block)
end