aboutsummaryrefslogtreecommitdiff
path: root/src/guff/api-docs-html-view.cr
diff options
context:
space:
mode:
authorPaul Duncan <pabs@pablotron.org>2016-03-06 02:13:07 -0500
committerPaul Duncan <pabs@pablotron.org>2016-03-06 02:13:07 -0500
commit7e24e13e887d441fd82a8d427913cfe36d5682da (patch)
tree52015789322efb6454a37c88771a038289ac5c29 /src/guff/api-docs-html-view.cr
parent2421d5f15569515d9fda3c6f36edeaf7e5222b54 (diff)
downloadold-guff-7e24e13e887d441fd82a8d427913cfe36d5682da.tar.bz2
old-guff-7e24e13e887d441fd82a8d427913cfe36d5682da.zip
s/HTMLPageView/PageHTMLView/
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