On Mar 15, 5:53 pm, richardsugg <[email protected]> wrote: > So in my CompanyController, I have functions index, new, edit, create, > show, etc... My understanding is that one of these gets called > depending on the page. If I'm creating a new company, then the new/ > create is called, etc. How do I create a function that is called > everytime, regardless of the context? >
Sounds like you are looking for a before_filter Fred -- 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.

