module Roda::RodaPlugins::NotFound::ClassMethods
Public Instance Methods
Source
# File lib/roda/plugins/not_found.rb, line 47 def not_found(&block) status_handler(404, &block) end
Install the given block as the not_found
handler.
# File lib/roda/plugins/not_found.rb, line 47 def not_found(&block) status_handler(404, &block) end
Install the given block as the not_found
handler.