That's what components are for. Jeremy Burns Class Outfit
http://www.classoutfit.com On 14 Sep 2012, at 15:47:53, Lightee <[email protected]> wrote: > Dear Cakephp experts, > > My database has a number of tables. The controller corresponding to each > table share similar actions. Basically, the only difference is that the > controller name is different. Is there some way to make them share the same > action even though the controller name is different? Otherwise, I will have > to code same action for different controllers which is highly inefficient. > > Thank you. > > -- > You received this message because you are subscribed to the Google Groups > "CakePHP" group. > To post to this group, send email to [email protected]. > To unsubscribe from this group, send email to > [email protected]. > Visit this group at http://groups.google.com/group/cake-php?hl=en-US. > > -- You received this message because you are subscribed to the Google Groups "CakePHP" group. To post to this group, send email to [email protected]. To unsubscribe from this group, send email to [email protected]. Visit this group at http://groups.google.com/group/cake-php?hl=en-US.
