Fix syntax error in page types controller