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