App.SelectQrcodeRoute = Ember.Route.extend
  setupController: (controller)->
    $.ajax
      url: '/select_qrcode'
      type: "GET"
      dataType: 'json'
      async: false
      success: (res)->
        controller.set 'tables', res
