add collection and router example code. View with template variables gives error )