diff --git a/playground/responses/html_response.cr b/playground/responses/html_response.cr
index 384395e..34da776 100644
--- a/playground/responses/html_response.cr
+++ b/playground/responses/html_response.cr
@@ -7,7 +7,7 @@ module ExampleApp
end
def render
- render "example.html", {name: @name}
+ view "example.html", {name: @name}
end
end
end
diff --git a/src/azu/templates.cr b/src/azu/templates.cr
index 045481c..1e89784 100644
--- a/src/azu/templates.cr
+++ b/src/azu/templates.cr
@@ -24,10 +24,6 @@ module Azu
CONFIG.templates.load(template).render(data)
end
- private def render(template : String = page_path, data = Hash(String, String).new)
- view template, data
- end
-
def page_path
"#{self.class.name.split("::")[1..-1].join("/").underscore.downcase}.jinja"
end