Rails 3 formatted URL's

Hello folks!

I'm using Rails 3 right now, and I am trying to get my RSS feed
working.

However, I am getting --

undefined method `formatted_posts_url'

Hello folks!

I'm using Rails 3 right now, and I am trying to get my RSS feed
working.

However, I am getting --

undefined method `formatted_posts_url'

--------
when i try to view my RSS feed.

"Posts" is the controller that I would like to build an RSS feed
from.

I do "rake routes" and I don't see the "formatted" route there.

I am using restful routes... any idea how I can get that URL back? I'm
pretty sure it was there back in Rails 2.x

Okay so, I found an article here:
http://ryandaigle.com/articles/2008/11/27/what-s-new-in-edge-rails-no-more-formatted-routes#comment-form

but I don't know where to put those lines of code.

It says to put it in the views helper, but where is that?

Thanks

I believe they want you to put this in your view:

posts_url(:format => :rss)

-philip

I believe they want you to put this in your view:

posts_url(:format => :rss)

-philip

Superman! Thank you