Generate tickets controller.