Seems like a good feature. I would definately like to see this. There isn't anything in trunk of this at the time of writing... that could mean that writing this hasn't been started yet. It doesn't seem hard to implement, though - you could hack the router to change the "accept" header in the request object to a corresponding MIME type, or extend the request object with a property that would later be looked up by ActionController::MimeResponds

--
Mislav

On 6/30/06, Dan Webb <[EMAIL PROTECTED]> wrote:
Hi All,

In DHH keynote he mentioned that routes where going to be adjusted so
that adding a file extension to a URL will override respond_to so that

controller/action/thing.xml

would automatically trigger the xml part of a respond_to in an action
reguardless of what the accepts header says.

Does anyone have any idea when this will be implemented?  It doesn't
apppear to be in edge rails yet.

_______________________________________________
Rails-core mailing list
Rails-core@lists.rubyonrails.org
http://lists.rubyonrails.org/mailman/listinfo/rails-core

Reply via email to