The code works fine when the class is a part of the controller itself, but 
not as a module...

Reply via email to