On Fri, Jan 28, 2011 at 6:39 AM, Milo Thurston <[email protected]> wrote:
> This may seem like a bit of an odd question, but I was wondering if
> anyone could think of any cunning means of getting the equivalent of the
> output of "rake routes" from within a controller. I.e., I'd like to be
> able to GET a URL such as http://localhost:3000/routes and have a
> summary of the available routes returned.

You could just incorporate the code from the rake task into a model
of your own, eh?

-- 
Hassan Schroeder ------------------------ [email protected]
twitter: @hassan

-- 
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 [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/rubyonrails-talk?hl=en.

Reply via email to