dimanche 25 juin 2017

Ember.js 2. Nested routes but non-nested templates

First of all, thank you all for your efforts in this forum.

I have this situation:

  • mysite.com/authors (list of authors)
  • mysite.com/author/1 (author 1)
  • mysite.com/book/1 (book 1 of author 1)
  • mysite.com/cart/1 (cart page of book 1 of author 1)

I need an url like this:

http://ift.tt/2u3sLzf

but I don't want nested template (every page is different and I don't want same info in many page).

Is there a way to have that URL?




Aucun commentaire:

Enregistrer un commentaire