Hmm, perhaps I should use the old format after all...
```ruby
if namespace.root?
  root :to => namespace.root_to
else
  namespace namespace.name do
    root :to => namespace.root_to
  end
end