# 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
Qsupplier.App.Router.reopen
  location: 'history'
  rootURL: '/supplier'

Qsupplier.App.Router.map ->
  @route '/', queryParams: ['section_id']
  @resource 'sections', ->
    @resource 'section', path: ':section_id'
  @resource 'lists', ->
    @resource 'list', path: ':list_id'
  #@resource 'lists', queryParams: ['state']
