Leandro Lucarella wrote:
That would be great, this way you don't have to make a method for exposing
JSON and another for exposing a template (I think one of the most amazing
things about TG is this abstraction).

Just a note from someone who's doing a *lot* of JSON work: You probably should differentiate between returning JSON formatted data and a template.

Most likely the logic is different. There really aren't that many times when I want to either get a template with the data or the JSON data itself. I usually want one or the other for each request.

Jeff


--
Jeff Watkins
http://metrocat.org/

Reply via email to