jader icon indicating copy to clipboard operation
jader copied to clipboard

Server-side helpers

Open vjpr opened this issue 12 years ago • 1 comments

No access to server-side view helpers (such as url_for)

Is there a workaround for this?

Say I don't need to share the templates client-side - I just want to use Jade on the server, can I use helpers?

vjpr avatar Jun 24 '13 06:06 vjpr

At the moment I'm afraid not. I'm happy to accept pull requests that enable this, however, be mindful of the fact that since the client doesn't have access to server-side code, this kind of feature can lead to potentially broken templates.

zohararad avatar Jun 24 '13 14:06 zohararad