I'm trying to begun work with Artanis WAF, and for beginning created skeleton via "art" command(and created controller as in example).
I've removed hard coded html in generated controller and try to use templates:
;; TODO: add controller method `show'
;; uncomment this line if you want to render view from template
But I've got error:
837:9 2 (catch artanis-err #<procedure 22bffe0 at artanis/page…> …)
In unknown file:
1 (_ #<procedure 22bf1e0 at artanis/page.scm:83:6 ()> #<…> …)
7:2 0 (_ _)
ERROR: In procedure module-lookup: Unbound variable: view-render
GNU Artanis encountered exception!
In procedure handle-request :
Internal ERROR unbound-variable (module-lookup Unbound variable: ~S (view-render) #f)!
Am I doing something wrong? Or maybe example need some updates?
What is right way for using templates(maybe tpl->response with relative path to view).
Thank you for patience(mine English isn't native, sorry).