Quantcast
Channel: Ember.JS - Latest topics
Viewing all articles
Browse latest Browse all 4870

Organize Templates by Folders

$
0
0

Is there a way to organize the templates into folders? I want something similar to this:

templates/legal/terms-of-service.hbs templates/legal/privacy-policy.hbs templates/main/index.hbs

I tried putting the templates into folders and adding slashes to the name:

Router.map(function () {
  this.route('legal/terms-of-service', { path: '/legal/terms-of-service' });
  ...
});

To no success as when accessing the page i get a white screen.

2 posts - 2 participants

Read full topic


Viewing all articles
Browse latest Browse all 4870

Trending Articles