router linked with view