That makes no sense. Why is there a 'type' to begin with? These look like different pages to me. Is the `index` view simply overloaded to handle several types of pages? Why not split it to different controller methods instead of this weird construct.