Re: [Rails-core] Using file extensions to override respond_to behavior

2006-06-30 Thread Dan Webb
Actually, I've just realised it is in edge. You just need to add a route with :format in it. On 6/30/06, Dan Webb <[EMAIL PROTECTED]> wrote: Ah, so it's implemented in simply restful...that makes sense. Cheers, Dan On 6/30/06, Tim Lucas <[EMAIL PROTECTED]> wrote: > On 30/06/2006, at 8:52 PM,

Re: [Rails-core] Using file extensions to override respond_to behavior

2006-06-30 Thread Dan Webb
Ah, so it's implemented in simply restful...that makes sense. Cheers, Dan On 6/30/06, Tim Lucas <[EMAIL PROTECTED]> wrote: On 30/06/2006, at 8:52 PM, Dan Webb wrote: > In DHH keynote he mentioned that routes where going to be adjusted so > that adding a file extension to a URL will override r

Re: [Rails-core] Using file extensions to override respond_to behavior

2006-06-30 Thread Tim Lucas
On 30/06/2006, at 8:52 PM, Dan Webb wrote: 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

Re: [Rails-core] Using file extensions to override respond_to behavior

2006-06-30 Thread Mislav Marohnić
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 reque