diff options
author | Paul Duncan <pabs@pablotron.org> | 2016-03-13 00:54:07 -0500 |
---|---|---|
committer | Paul Duncan <pabs@pablotron.org> | 2016-03-13 00:54:07 -0500 |
commit | fddd4596c03f4dd678229574787cb0e7051554a5 (patch) | |
tree | 1e6f482c27ee537d8075824b6e0f6f8db93fad93 | |
parent | 3800ec5dad2834f1da281ded998bfd13d4233550 (diff) | |
download | old-guff-fddd4596c03f4dd678229574787cb0e7051554a5.tar.bz2 old-guff-fddd4596c03f4dd678229574787cb0e7051554a5.zip |
add views/{html,ecrs}/test
-rw-r--r-- | src/guff/handlers/test-blog.cr | 2 | ||||
-rw-r--r-- | src/guff/views/ecrs/test/blog.ecr (renamed from src/guff/views/ecrs/test-blog.ecr) | 0 | ||||
-rw-r--r-- | src/guff/views/html/test/blog.cr (renamed from src/guff/views/html/test-blog.cr) | 4 |
3 files changed, 3 insertions, 3 deletions
diff --git a/src/guff/handlers/test-blog.cr b/src/guff/handlers/test-blog.cr index 61f8241..f22ba76 100644 --- a/src/guff/handlers/test-blog.cr +++ b/src/guff/handlers/test-blog.cr @@ -1,5 +1,5 @@ require "../handler" -require "../views/html/test-blog" +require "../views/html/test/blog" class Guff::Handlers::TestBlogHandler < Guff::Handler def call(context : HTTP::Server::Context) diff --git a/src/guff/views/ecrs/test-blog.ecr b/src/guff/views/ecrs/test/blog.ecr index 1ce4347..1ce4347 100644 --- a/src/guff/views/ecrs/test-blog.ecr +++ b/src/guff/views/ecrs/test/blog.ecr diff --git a/src/guff/views/html/test-blog.cr b/src/guff/views/html/test/blog.cr index 696bfbb..5f7372f 100644 --- a/src/guff/views/html/test-blog.cr +++ b/src/guff/views/html/test/blog.cr @@ -1,6 +1,6 @@ require "html" require "ecr/macros" -require "./page" +require "../page" class Guff::TestBlogHTMLView TITLE = "Guff Blog Test" @@ -71,5 +71,5 @@ class Guff::TestBlogHTMLView HTML.escape(s || "") end - ECR.def_to_s("./src/guff/views/ecrs/test-blog.ecr") + ECR.def_to_s("./src/guff/views/ecrs/test/blog.ecr") end |