common views moved out of routes