Files
mozo-backend/app/assets/javascripts/user/app/router.js.coffee
T
2014-09-15 15:47:51 +02:00

19 lines
579 B
CoffeeScript

# 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 'scanning'