keithwhor / nodal

API Services Made Easy With Node.js
http://www.nodaljs.com/
MIT License
4.51k stars 209 forks source link

`nodal g:controller` generates a controller with this.render() methods #230

Closed nsipplswezey closed 8 years ago

nsipplswezey commented 8 years ago

Consider if this is still intended behavior, or if instead this.respond() is the appropriate method.

nsipplswezey commented 8 years ago

This could use more specificty: This issue specifically refers to a CLI call nodal g:controller that doesn't use the --for flag. My intuition is that that this.render() could be removed from Nodal since my guess is that that it's an HTML rendering response.