generated controller for comments