> - make override_template work for all content types
> I use this to a have single controller serving javascripts generated
> at runtime from templates, so that calling /parsedjs/<scriptname>.js
> will parse <scriptname>.mak and return the result with a content_type
> of "text/javascript". (At the moment override_template only works for
> the "text/html" engine)

Sounds like a very reasonable an simple patch.  Definitely post this to trac.

> - allow custom REST-like methods in RestController
> I added this to have a consistent API, exposing custom methods the
> same way as REST verbs.
> For example you can define get_archive() and post_archive() in your
> "movies" controller and use them like this:
> GET /movies/1/archive
> POST /movies/1?_method=ARCHIVE

This is possibly more controversial since one of the REST principles
is to limit the number of verbs in the system.   But, I still think
it's worth discussing further here and posting to trac.

--Mark Ramm

-- 
You received this message because you are subscribed to the Google Groups 
"TurboGears Trunk" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/turbogears-trunk?hl=en.

Reply via email to