I’m looking to add text before the output of each template and partial
to
show the following:
/path/to/erb/file
or
document.write … if it’s a javascript file.
If I’m using tilt I also use templates for those notices (for
coffeescript
etc…)
i’ve found a gem for rails 2 that did that, but it doesn’t work anymore.
Is there a after_render hook in tilt that I could use.
This is just for development mode.