         log_router '/namespaces/' + id
         clear_modals()
         namespace = namespaces.get(id)
-        
+
         @current_view.destroy()
         if namespace?
             @current_view = new NamespaceView.Container model:namespace

            @current_view = new MachineView.Container model: machine
        else
            @current_view = new MachineView.NotFound id
        
        if tab?
            @$container.html @current_view.render(tab).el
        else

        log_router '/datacenters/' + id
        clear_modals()
        datacenter = datacenters.get(id)

        @current_view.destroy()
        if datacenter?
            @current_view = new DatacenterView.Container model: datacenter
