Quantcast
Channel: JavaScriptMVC Forum
Viewing all articles
Browse latest Browse all 3491

ejs in ejs?

$
0
0
Hi,

how do I invoke an .ejs-file from another one?

Formerly I did this:
  1. <%== $.View('//myapp/viewtemplates/myremplate')%>
which should be

  1. <%== can.view('//myapp/viewtemplates/myremplate')%>
or

  1. <%== can.view('//myapp/viewtemplates/myremplate.ejs')%>

now, but it does not work. What is wrong here?



Viewing all articles
Browse latest Browse all 3491

Trending Articles