From bc86dbf55dd2c134fc2e5d0e6bf8cefbe6b1ceba Mon Sep 17 00:00:00 2001 From: Paul Duncan Date: Tue, 8 Mar 2016 17:21:09 -0500 Subject: refactor html views --- src/guff/handlers/api-handler.cr | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'src/guff/handlers/api-handler.cr') diff --git a/src/guff/handlers/api-handler.cr b/src/guff/handlers/api-handler.cr index f40a39d..77606ae 100644 --- a/src/guff/handlers/api-handler.cr +++ b/src/guff/handlers/api-handler.cr @@ -1,6 +1,7 @@ require "json" require "../handler" require "../api/*" +require "../views/html/api-docs" private macro define_method_calls(hash) case namespace @@ -142,6 +143,6 @@ class Guff::Handlers::APIHandler < Guff::Handler end private def do_docs(context : HTTP::Server::Context) - APIDocsHTMLView.run(context) + Guff::APIDocsHTMLView.run(context) end end -- cgit v1.2.3