On May 19, 2010, at 1:35 PM, Me wrote: > > Is there a way to list on a web page the current controller actions > define din the controller? Would like to put up a link for each > automatically.
>> PagesController.instance_methods(false) => ["destroy", "contact", "list", "show", "expire_all", "edit", "method_missing"] >> You may need to edit down the list just a bit, as you can see. I implemented a few methods in this class (like method_missing) that should be actions that might not be appropriate in a list. Good luck. -- 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.

