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. One possible way I can see
would be to have the relevant controller make a system call to "rake
routes"and render the output as text, or to prepare such output
beforehand with a cron job and source it from a text file, but neither
option seems very elegant.

-- 
Posted via http://www.ruby-forum.com/.

-- 
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