diff options
Diffstat (limited to 'src/guff')
-rw-r--r-- | src/guff/api-docs-html-view.cr | 4 | ||||
-rw-r--r-- | src/guff/page-html-view.cr (renamed from src/guff/html-page-view.cr) | 2 |
2 files changed, 3 insertions, 3 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 diff --git a/src/guff/html-page-view.cr b/src/guff/page-html-view.cr index e1f69a7..42ea454 100644 --- a/src/guff/html-page-view.cr +++ b/src/guff/page-html-view.cr @@ -2,7 +2,7 @@ require "ecr/macros" require "html" module Guff - class HTMLPageView + class PageHTMLView property :charset property :lang property :title |