I want to be able to call coffeescript and js functions declared in other files from a zappa app. I can't get it to work at all.
I tried using @include as explained on the zappajs crashcourse ...
but I get
TypeError: Object # has no method 'include'
Here's my test app code:
#app.coffee
require('zappajs') ->
@get '/': -> @include 'call'
and here's the function I'm trying to call in another file.
#call.coffee
@include = ->
"call me"