# 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: '/waiter'

App.Router.map ->
  @resource 'sections', ->
    @resource 'section', path: ':section_id', ->
      @resource 'tables', ->
        @resource 'table', path: ':table_id'
