diff --git a/src/kemal/view.cr b/src/kemal/view.cr index d6e7444..275dd43 100644 --- a/src/kemal/view.cr +++ b/src/kemal/view.cr @@ -1,3 +1,25 @@ +# Template for 403 Forbidden +def render_403 + template = <<-HTML + + + + + + +

Forbidden

+

Kemal doesn't allow you to see this page.

+ + + + HTML + HTTP::Response.new(403, template) +end + # Template for 404 Not Found def render_404 template = <<-HTML