View Single Post
  #9 (permalink)  
Old 06-10-2008, 02:07 PM
Leif.Högberg Leif.Högberg is offline
Member
 
Join Date: Aug 2007
Location: Sweden
Posts: 52
Send a message via MSN to Leif.Högberg
Default

"You have some information in a DB that you want to read from a controller. Then you generate some code with this and give it to the view. Here is no problem except when you have 2 other controllers that need the same generated code (just to avoid the code duplication, ok?)."

Based on the above example I would say that you need to create an action helper. This helper could then be reused in your other controllers.
Reply With Quote