Thursday, August 18, 2011

[Rails] How to get all urls of my application?

Hello everyone, how can I get all available urls of my application, I don't mean rake routes I mean some code that returns literally all the urls (or paths)

for example

let's say it's a blog application, with this code I should be able to see:

/
/about
/contact
/posts
/posts/2011-08-18
/posts/2011-08-18/blah-blah
/posts/2011-08-15/lalala
/posts/2011-08-18/foo
/posts/2011-08-18/bar
/posts/2011-08-18/baz

Well, this is the point.. do you have any idea on how to do it?

A appreciate any reply!

Thanks in advance.

--
You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group.
To post to this group, send email to rubyonrails-talk@googlegroups.com.
To unsubscribe from this group, send email to rubyonrails-talk+unsubscribe@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en.

0 Comments:

Post a Comment

Subscribe to Post Comments [Atom]

<< Home


Real Estate