# For more information see: http://emberjs.com/guides/routing/
# and for queryParams: https://github.com/alexspeller/website/blob/a96d9afe4506454b155cc64299e86e558ce3c9f1/source/guides/routing/query-params.md
App.Router.reopen
  #location: 'history'
  rootURL: '/user'

App.Router.map ->
  @route 'select_qrcode'
  #@route 'obtain_token'
  @route 'active_list'
  @route 'table', path: '/tables/:table_id'
  @resource 'join_requests'
  @resource 'lists', ->
    @resource 'list', path: ':list_id'
  @route 'settings'
  @route 'product-orders'
  @route 'error'
  @route 'about'
  @route 'scanning'
  @route 'sign_in'
