 
   constructor: (options = {}, data) ->
 
-    { computeController } = kd.singletons
+    { computeController, router } = kd.singletons
 
-    path = kd.singletons.router.getCurrentPath()
+    path = router.getCurrentPath()
 
     machineUid = path.split('/').pop()
 


    machine = computeController.findMachineFromMachineUId machineUid

    @machineName = machine.label

    # Path of cloud-init-output log
    path = '/var/log/cloud-init-output.log'
    @file = FSHelper.createFileInstance { path, machine }


    super options, data

kd = require 'kd'
IDETailerPane = require 'ide/workspace/panes/idetailerpane'
FSHelper = require 'app/util/fs/fshelper'
IDEHelpers = require 'ide/idehelpers'
showErrorNotification = require 'app/util/showErrorNotification'


header = ->
  new kd.CustomHTMLView
