diff options
Diffstat (limited to 'src/guff/handlers')
-rw-r--r-- | src/guff/handlers/api-handler.cr | 3 |
1 files changed, 2 insertions, 1 deletions
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 |