Fixed enum containing controller names instead of view names
navigation generates switch statement for all possible next pages