generated controller and views