Allow registerDefaultRoute to take a view id or view.