aboutsummaryrefslogtreecommitdiff
path: root/src/guff/api-docs-html-view.cr
diff options
context:
space:
mode:
Diffstat (limited to 'src/guff/api-docs-html-view.cr')
-rw-r--r--src/guff/api-docs-html-view.cr4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/guff/api-docs-html-view.cr b/src/guff/api-docs-html-view.cr
index e3f1097..83c28d0 100644
--- a/src/guff/api-docs-html-view.cr
+++ b/src/guff/api-docs-html-view.cr
@@ -1,6 +1,6 @@
require "html"
require "ecr/macros"
-require "./html-page-view"
+require "./page-html-view"
require "./api-methods"
module Guff
@@ -8,7 +8,7 @@ module Guff
TITLE = "Guff API Documentation"
def self.run(context : HTTP::Server::Context)
- page = HTMLPageView.new(TITLE, new.to_s)
+ page = PageHTMLView.new(TITLE, new.to_s)
context.response.content_type = page.content_type
context.response.puts page
end