There''s a choice of two patches on the trac, take your pick
http://merb.devjavu.com/ticket/193
Chris Farmiloe
Oxygen.
01273 782909
On 13 Oct 2007, at 19:59, Geoffrey Grosenbach wrote:
> Is anyone using formats with the url generator in trunk? I can''t
> figure it out and it seems to be unimplemented in the router code.
>
> I want to do something like
>
> url(:articles, :format => "xml")
> # => /articles.xml
>
> or
>
> url(:formatted_articles, :format => "xml")
>
> --
> Geoffrey Grosenbach
> ........................
> PeepCode Screencasts
> http://peepcode.com
> _______________________________________________
> Merb-devel mailing list
> Merb-devel at rubyforge.org
> http://rubyforge.org/mailman/listinfo/merb-devel
-------------- next part --------------
An HTML attachment was scrubbed...
URL:
http://rubyforge.org/pipermail/merb-devel/attachments/20071013/2d93abe5/attachment.html