Archived Thread: 'Static Controller Methods?'
-
Static Controller Methods?Posted by wtilton on Monday, April 30, 2007Just wondering why the methods in the generated Controller methods that the SubSonic Tools puts out aren't declared static for convenience?
-
Re: Static Controller Methods?Posted by cmccarrick on Wednesday, May 02, 2007
You should be able to modify the code in the templates directory to change the controller template to add static methods.
For some reason though, I can't seem to get the addin to accept my changes. I must be setting the template directory incorrectly because it seems to be pulling templates from an unknown (to me) source.
Christian