socketstream/socketstream — pull request #97 by jp-a (2011-10-20 20:29:23+00:00)
Title: Additional small fix to enable use of "include" in Jade Asset Templates

Related to Pull request [#96](https://github.com/socketstream/socketstream/issues/96):

`jade.compile` is also called by the asset manager while compiling the _Asset Templates_ (in `app/views` sub-directories), hence we need to add the `filename` option to enable the use of `include`s there too.

Unlike in `compile.coffee` file , the `path` in `templates.coffee` is relative. Therefore we need to contstruct the absolute path this time: `{filename: "#{SS.root}/#{path}"}`.

Thank you,
Jean-Philippe.