May 2008
1 post
6 tags
CruddySmartDispatcherController
I realized most controllers (I tend to stick with a RESTful design, when possible) basically have the same actions and I wondered if a generic controller couldn’t fit the bill… so I came up with this:
[DefaultAction(“index”), Layout(“default”)] public class CruddySmartDispatcherController : SmartDispatcherController where AR : ActiveRecordBase,...