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

Nested route not matched

$
0
0

@stephan wrote:

With the following routes defined, I expected the dashboard route to be matched on the site root url. However, the wide route is matched and the page ends up being empty. Both the app and wide route are not used as real routes but only split the site’s routes in 2 different layout files.

Is there a better way to achieve my goal? (splitting the application routes in 2 different layout files).

  this.route('app', { path: '' }, function() {
    this.route('dashboard', {path: ''});
  });

  this.route('wide', {path: ''}, function() {
    this.route('full');
  });

Posts: 2

Participants: 2

Read full topic


Viewing all articles
Browse latest Browse all 4829

Trending Articles