Colin A. Bartlett on 6 Mar 2008 18:04:31 -0800


[Date Prev] [Date Next] [Thread Prev] [Thread Next] [Date Index] [Thread Index]

Re: [PhillyOnRails] refactoring controllers



On Mar 6, 2008, at 7:46 PM, Aaron Blohowiak wrote:

put the common code in a module that you then include in both controllers. this lets your controllers share code without having to do any redirects or what have you from the client perspective.


Or make a class that your controllers can inherit from.

Colin A. Bartlett
Kinetic Web Solutions



_______________________________________________
To unsubscribe or change your settings, visit:
http://lists.phillyonrails.org/mailman/listinfo/talk