 App.RequestModel = Ember.Object.extend
   name: ''
   id: 0
-
 
 App.IndexRoute = Ember.Route.extend
   activate: (controller) ->


    Ember.$.getJSON config.baseUrl + "monitor/request", (data) ->
      if data.success
        websocket = new WebSocket config.liveUrl + "?id=" + data.session
        me.set 'sessionid', data.session

        websocket.onopen = (ev) ->

        @return {Unit}
        ###
        websocket.onmessage = (ev) ->
          data = JSON.parse ev.data
          console.log me, data

          me.set 'requestContent', data.content

          me.pushObject
            name: 'test'

          me.set 'content', []

App.RequestRoute = Ember.Route.extend
  model: (params) ->
