Jeff Barczewski
2006-Jun-19 18:41 UTC
[Masterview-devel] I added config.enable_view_rhtml which turns on ability to view rhtml from admin pages
I added config.enable_view_rhtml which turns on ability to view rhtml from admin pages. Defaults to false for security purposes. Turning this on creates links on the masterview admin page list which you can click on the rhtml you want to view and it shows you the generated rhtml in the browser. This will be quite useful for people to understand what it is generating (especially when using generate_rhtml is false). Also for debugging. It allows them to try out directives and see if it has the desired effect and if not why. I also created a rake mv:view_rhtml RHTML=product/_form.rhtml which can be used to view any of the rhtml files from the console. That completes the utilities needed when we don''t generate the rhtml any more. Now back to the videos. Jeff -------------- next part -------------- An HTML attachment was scrubbed... URL: http://rubyforge.org/pipermail/masterview-devel/attachments/20060619/72cecee8/attachment.htm