Closed xxx closed 14 years ago
Sure. All you need to do is make a separate asset package, just for your templates. Then they'll be the only thing in that particular file. Something along the lines of:
javascripts:
templates:
- app/views/templates/*.jst
And then, you can grab public/assets/templates.js
at your leisure.
Hi,
Is there a way to get the previous functionality back where templates are put into a separate file? I need that functionality (I'm embedding the compiled templates into a separate file after the jammit run) and would rather not have to fork the gem to keep it.