generated category controller