diff options
author | Paul Duncan <pabs@pablotron.org> | 2016-03-08 17:21:09 -0500 |
---|---|---|
committer | Paul Duncan <pabs@pablotron.org> | 2016-03-08 17:21:09 -0500 |
commit | bc86dbf55dd2c134fc2e5d0e6bf8cefbe6b1ceba (patch) | |
tree | b78eff68e72f080767dffb0a61a40f6bd08e9b8b /src/guff/handlers | |
parent | 0f3de66b4b824394305caff297d5a5f829d79b2e (diff) | |
download | old-guff-bc86dbf55dd2c134fc2e5d0e6bf8cefbe6b1ceba.tar.bz2 old-guff-bc86dbf55dd2c134fc2e5d0e6bf8cefbe6b1ceba.zip |
refactor html views
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 |