                         ret += "/groups/"+data.unfolded_groups
                 if data.list_hidden
                         ret += "/list/hide"
+                if data.demo? and data.demo
+                        ret += "/demo/"+data.demo
                 ret.replace(/^\//,"")
 
 

        current_state: {
                report: undefined
                unfolded_groups: []
                list_hidden: false }


        constructor: () ->

        window.listController = new ListController(api: window.API)
        window.reportController = new ReportController(api: window.API)
        window.listFolderController = new ListFolderController(api: window.API)
        window.demoController = new DemoController(api: window.API)

        application.start({})

