aboutsummaryrefslogtreecommitdiff
path: root/src/guff/handlers/not-found-handler.cr
blob: 4cd564f7563057761f52d45e28d7805aff86519f (plain)
1
2
3
4
5
6
7
8
require "../handler"

class Guff::Handlers::NotFoundHandler < Guff::Handler
  def call(context : HTTP::Server::Context)
    context.response.status_code = 404
    context.response.puts "not found"
  end
end