mercredi 25 octobre 2017

How to put routes in a sub folder without changing the URL in Ember

I have links that currently are in my main path. I would like to group them in a sub folder without changing the urls. For example I have /income-statement and I want to put the files in a reports directory. With the nested routes the url becomes /reports/income-statement. I tried setting the path on the reports level to be {path: ''} but it conflicts with my main route

this.route('reports', function() {
  this.route('accounts-receivable')
  this.route('income-statement')
})




Aucun commentaire:

Enregistrer un commentaire